Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.569/1.569, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001267/0.001268, allocations: 177.3 kB / 366.3 MB, free: 1.961 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.573/1.573, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.0008914/0.0008916, allocations: 91.48 kB / 0.7395 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2821/0.283, allocations: 122.4 MB / 0.8591 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/1.06, allocations: 116.3 MB / 0.9726 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/1.256, allocations: 143.7 MB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/1.256, allocations: 87.94 kB / 1.113 GB, free: 6.664 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.02076/1.277, allocations: 6.976 MB / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.277, allocations: 8 kB / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/1.277, allocations: 64.72 kB / 1.12 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/1.277, allocations: 319.6 kB / 1.12 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/1.278, allocations: 15.98 kB / 1.12 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/1.278, allocations: 16 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000417/1.278, allocations: 217.5 kB / 1.12 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/1.278, allocations: 304.6 kB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.279, allocations: 4 kB / 1.121 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/1.279, allocations: 3.906 kB / 1.121 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/1.279, allocations: 13.41 kB / 1.121 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/1.281, allocations: 1.377 MB / 1.122 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/1.281, allocations: 228.5 kB / 1.122 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/1.281, allocations: 177.2 kB / 1.122 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/1.281, allocations: 8.219 kB / 1.122 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/1.281, allocations: 32.17 kB / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/1.281, allocations: 0 / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.001086/1.283, allocations: 382.7 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/1.283, allocations: 55.41 kB / 1.123 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/1.283, allocations: 251.5 kB / 1.123 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/1.283, allocations: 29.64 kB / 1.123 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/1.283, allocations: 187.9 kB / 1.123 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/1.283, allocations: 86.75 kB / 1.123 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/1.283, allocations: 0 / 1.123 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.283, allocations: 346.7 kB / 1.124 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/1.283, allocations: 81.5 kB / 1.124 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/1.284, allocations: 143.6 kB / 1.124 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/1.284, allocations: 91.98 kB / 1.124 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.284, allocations: 4 kB / 1.124 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009878/1.285, allocations: 410.2 kB / 1.125 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003244/1.285, allocations: 0.5361 MB / 1.125 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.285, allocations: 0 / 1.125 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008095/1.286, allocations: 172.7 kB / 1.125 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/1.286, allocations: 39.92 kB / 1.125 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000957/1.287, allocations: 0.8294 MB / 1.126 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/1.288, allocations: 32.8 kB / 1.126 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/1.288, allocations: 4 kB / 1.126 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/1.288, allocations: 4 kB / 1.126 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009307/1.288, allocations: 368.4 kB / 1.126 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/1.289, allocations: 4 kB / 1.126 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006843/1.289, allocations: 173.7 kB / 1.127 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/1.289, allocations: 43.92 kB / 1.127 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/1.292, allocations: 2.23 MB / 1.129 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/1.293, allocations: 43.83 kB / 1.129 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/1.293, allocations: 8 kB / 1.129 GB, free: 6.012 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.000127/1.293, allocations: 105 kB / 1.129 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/1.293, allocations: 34.44 kB / 1.129 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.533e-05/1.293, allocations: 43.86 kB / 1.129 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/1.293, allocations: 4 kB / 1.129 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/1.293, allocations: 4 kB / 1.129 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.293, allocations: 3.984 kB / 1.129 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/1.294, allocations: 358.1 kB / 1.129 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.294, allocations: 1.594 kB / 1.129 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/1.294, allocations: 31.92 kB / 1.129 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006668/1.294, allocations: 175.5 kB / 1.13 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/1.294, allocations: 3.906 kB / 1.13 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/1.297, allocations: 2.21 MB / 1.132 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.297, allocations: 4.062 kB / 1.132 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009448/1.298, allocations: 487.8 kB / 1.132 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00111/1.299, allocations: 0.8487 MB / 1.133 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/1.3, allocations: 136.5 kB / 1.133 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/1.3, allocations: 3.984 kB / 1.133 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/1.3, allocations: 12 kB / 1.133 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/1.3, allocations: 19.97 kB / 1.133 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/1.3, allocations: 4 kB / 1.133 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002188/1.3, allocations: 199.1 kB / 1.133 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002058/1.302, allocations: 199.3 kB / 1.134 GB, free: 0.9492 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.0001852/1.303, allocations: 110.1 kB / 1.134 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001144/1.304, allocations: 0.5087 MB / 1.134 GB, free: 328 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.304, allocations: 4.656 kB / 1.134 GB, free: 324 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004357/1.304, allocations: 257.4 kB / 1.134 GB, free: 56 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/1.305, allocations: 59.45 kB / 1.135 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/1.306, allocations: 485.4 kB / 1.135 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/1.307, allocations: 0.832 MB / 1.136 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.307, allocations: 3.938 kB / 1.136 GB, free: 14.63 MB / 0.7448 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)