Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.407/1.407, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009807/0.0009808, allocations: 185.2 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.1 MB / 0.6195 GB, free: 10.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 86.95 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2201/0.221, allocations: 121.4 MB / 0.8512 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.7571, allocations: 115.3 MB / 0.9638 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.9196, allocations: 142.7 MB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.9199, allocations: 79.95 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.02027/0.9402, allocations: 6.982 MB / 1.11 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.9402, allocations: 8.5 kB / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.9404, allocations: 51.34 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.9409, allocations: 315.7 kB / 1.11 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.9409, allocations: 12 kB / 1.11 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.941, allocations: 24 kB / 1.11 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000442/0.9414, allocations: 225.5 kB / 1.111 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.942, allocations: 296.6 kB / 1.111 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.942, allocations: 0 / 1.111 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.942, allocations: 8.781 kB / 1.111 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.942, allocations: 8 kB / 1.111 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.944, allocations: 1.393 MB / 1.112 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.9445, allocations: 232.5 kB / 1.112 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.9448, allocations: 157.3 kB / 1.113 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.9449, allocations: 4.234 kB / 1.113 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.9449, allocations: 46.73 kB / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.734e-06/0.9449, allocations: 0 / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.001051/0.946, allocations: 380.6 kB / 1.113 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.946, allocations: 55.41 kB / 1.113 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.9463, allocations: 260.7 kB / 1.113 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.9463, allocations: 25.7 kB / 1.113 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.9464, allocations: 191.9 kB / 1.114 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.9465, allocations: 86.75 kB / 1.114 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.9465, allocations: 0 / 1.114 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.9466, allocations: 342.7 kB / 1.114 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.9468, allocations: 72.55 kB / 1.114 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.947, allocations: 135.7 kB / 1.114 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.9471, allocations: 104.6 kB / 1.114 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9471, allocations: 0 / 1.114 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001063/0.9482, allocations: 417.7 kB / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.9484, allocations: 0.5254 MB / 1.115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9484, allocations: 0 / 1.115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007311/0.9492, allocations: 174.3 kB / 1.115 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.9494, allocations: 41.16 kB / 1.115 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008718/0.9502, allocations: 0.837 MB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.9506, allocations: 31.83 kB / 1.116 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.9506, allocations: 12 kB / 1.116 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.9506, allocations: 4 kB / 1.116 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008844/0.9515, allocations: 360.6 kB / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.9515, allocations: 0 / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000638/0.9522, allocations: 176.6 kB / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.9523, allocations: 44.09 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.9552, allocations: 2.238 MB / 1.119 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.9555, allocations: 31.91 kB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.9556, allocations: 18.33 kB / 1.119 GB, free: 12.55 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.9557, allocations: 108.9 kB / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.9557, allocations: 29.19 kB / 1.119 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.497e-05/0.9558, allocations: 39.86 kB / 1.119 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9558, allocations: 4 kB / 1.119 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9558, allocations: 2.438 kB / 1.119 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9558, allocations: 3.938 kB / 1.119 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.9563, allocations: 366.2 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9563, allocations: 0 / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.9564, allocations: 27.98 kB / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006328/0.9571, allocations: 171.8 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.9571, allocations: 7.906 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002722/0.9598, allocations: 2.207 MB / 1.122 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.9598, allocations: 4.062 kB / 1.122 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009082/0.9608, allocations: 489.7 kB / 1.122 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001002/0.9618, allocations: 0.8528 MB / 1.123 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.9619, allocations: 132.5 kB / 1.123 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.962, allocations: 4 kB / 1.123 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.9622, allocations: 11.98 kB / 1.123 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.9623, allocations: 11.98 kB / 1.123 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.9623, allocations: 9.25 kB / 1.123 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001829/0.9625, allocations: 195.1 kB / 1.124 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001877/0.9644, allocations: 203.3 kB / 1.124 GB, free: 7.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.9645, allocations: 107 kB / 1.124 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.9656, allocations: 0.5113 MB / 1.124 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9656, allocations: 0 / 1.124 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.9661, allocations: 261.8 kB / 1.125 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.9665, allocations: 66.86 kB / 1.125 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.9678, allocations: 485.5 kB / 1.125 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/0.9682, allocations: 0.8346 MB / 1.126 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of SimCode: time 4e-07/0.9683, allocations: 0 / 1.126 GB, free: 5.172 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)