Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure",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/BuildingSystems 2.0.0-master/package.mo): time 0.7679/0.7679, allocations: 141.8 MB / 149.1 MB, free: 3.898 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 186.4 kB / 181.9 MB, free: 15.63 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.3 MB / 436 MB, free: 8.832 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 98.19 kB / 0.507 GB, free: 24.18 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 265.8 kB / 0.5884 GB, free: 11.84 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2037/0.2055, allocations: 89.66 MB / 0.676 GB, free: 2.098 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.665, allocations: 82.76 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.7972, allocations: 121.8 MB / 0.8757 GB, free: 6.418 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.7975, allocations: 92.42 kB / 0.8758 GB, free: 6.332 MB / 0.5419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.08717/0.8847, allocations: 27.84 MB / 0.903 GB, free: 10.43 MB / 0.5732 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.8848, allocations: 12 kB / 0.903 GB, free: 10.42 MB / 0.5732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003149/0.888, allocations: 0.5076 MB / 0.9035 GB, free: 9.914 MB / 0.5732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.8894, allocations: 494.9 kB / 0.904 GB, free: 9.387 MB / 0.5732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.8897, allocations: 281.3 kB / 0.9043 GB, free: 9.055 MB / 0.5732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.8899, allocations: 44 kB / 0.9043 GB, free: 9.012 MB / 0.5732 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001961/0.8919, allocations: 0.9292 MB / 0.9052 GB, free: 8.082 MB / 0.5732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.8936, allocations: 0.8667 MB / 0.9061 GB, free: 7.176 MB / 0.5732 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.8936, allocations: 0 / 0.9061 GB, free: 7.176 MB / 0.5732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.8937, allocations: 4 kB / 0.9061 GB, free: 7.172 MB / 0.5732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.8938, allocations: 19.94 kB / 0.9061 GB, free: 7.152 MB / 0.5732 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006371/0.9002, allocations: 4.144 MB / 0.9101 GB, free: 2.605 MB / 0.5732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.9031, allocations: 1.063 MB / 0.9112 GB, free: 1.539 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007985/0.9039, allocations: 443.8 kB / 0.9116 GB, free: 1.105 MB / 0.5732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3828/1.287, allocations: 2.599 MB / 0.9141 GB, free: 99.26 MB / 0.5732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009848/1.288, allocations: 0.5059 MB / 0.9146 GB, free: 99.2 MB / 0.5732 GB Notification: Performance of pre-optimization done (n=90): time 3.667e-06/1.288, allocations: 0 / 0.9146 GB, free: 99.2 MB / 0.5732 GB Notification: Performance of matching and sorting (n=90): time 0.01305/1.301, allocations: 2.476 MB / 0.917 GB, free: 99.15 MB / 0.5732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/1.301, allocations: 141.3 kB / 0.9172 GB, free: 99 MB / 0.5732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/1.302, allocations: 393.2 kB / 0.9176 GB, free: 98.89 MB / 0.5732 GB Notification: Performance of collectPreVariables (initialization): time 7.859e-05/1.302, allocations: 31.48 kB / 0.9176 GB, free: 98.86 MB / 0.5732 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/1.302, allocations: 271.2 kB / 0.9178 GB, free: 98.72 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/1.302, allocations: 288.2 kB / 0.9181 GB, free: 98.57 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/1.302, allocations: 0 / 0.9181 GB, free: 98.57 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.302, allocations: 374.6 kB / 0.9185 GB, free: 98.25 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/1.303, allocations: 377.7 kB / 0.9188 GB, free: 98.25 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/1.304, allocations: 461.3 kB / 0.9193 GB, free: 98.22 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/1.315, allocations: 2.055 MB / 0.9213 GB, free: 98.21 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/1.316, allocations: 0 / 0.9213 GB, free: 98.21 MB / 0.5732 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01313/1.329, allocations: 2.658 MB / 0.9239 GB, free: 98.09 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.329, allocations: 2.938 kB / 0.9239 GB, free: 98.09 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.329, allocations: 3.719 kB / 0.9239 GB, free: 98.09 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/1.329, allocations: 9.062 kB / 0.9239 GB, free: 98.09 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/1.33, allocations: 262.5 kB / 0.9241 GB, free: 98.09 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/1.33, allocations: 7.281 kB / 0.9241 GB, free: 98.09 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.332, allocations: 181.7 kB / 0.9243 GB, free: 98.05 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.332, allocations: 46.67 kB / 0.9244 GB, free: 98.05 MB / 0.5732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weaDat.weatherData.conTim.tNext,weaDat.weatherData.conTim.tNext,radWest.outsidePolarCircle,radSouth.outsidePolarCircle,radEast.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002435/1.332, allocations: 115.7 kB / 0.9245 GB, free: 97.95 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/1.332, allocations: 66.41 kB / 0.9245 GB, free: 97.91 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/1.346, allocations: 2.921 MB / 0.9274 GB, free: 97.72 MB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.346, allocations: 10.78 kB / 0.9274 GB, free: 97.72 MB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.346, allocations: 3.906 kB / 0.9274 GB, free: 97.72 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/1.346, allocations: 6.375 kB / 0.9274 GB, free: 97.72 MB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/1.348, allocations: 0.8913 MB / 0.9283 GB, free: 97.54 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.348, allocations: 1.688 kB / 0.9283 GB, free: 97.54 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/1.349, allocations: 274.4 kB / 0.9285 GB, free: 97.54 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.889e-05/1.349, allocations: 7.688 kB / 0.9286 GB, free: 97.54 MB / 0.5732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/1.35, allocations: 17.48 kB / 0.9286 GB, free: 97.54 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/1.35, allocations: 7.312 kB / 0.9286 GB, free: 97.54 MB / 0.5732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.35, allocations: 4 kB / 0.9286 GB, free: 97.53 MB / 0.5732 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01317/1.363, allocations: 2.637 MB / 0.9312 GB, free: 97.32 MB / 0.5732 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01508/1.378, allocations: 3.026 MB / 0.9341 GB, free: 96.74 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006944/1.379, allocations: 292.3 kB / 0.9344 GB, free: 96.61 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/1.379, allocations: 1.312 kB / 0.9344 GB, free: 96.61 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.38, allocations: 89.92 kB / 0.9345 GB, free: 96.6 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/1.381, allocations: 76.98 kB / 0.9345 GB, free: 96.6 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.381, allocations: 43.16 kB / 0.9346 GB, free: 96.6 MB / 0.5732 GB Notification: Performance of sort global known variables: time 0.0005119/1.381, allocations: 301.5 kB / 0.9349 GB, free: 96.51 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.00226/1.383, allocations: 358.9 kB / 0.9352 GB, free: 96.5 MB / 0.5732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weaDat.weatherData.conTim.tNext) * Number of discrete states: 1 (weaDat.weatherData.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001491/1.385, allocations: 472.6 kB / 0.9357 GB, free: 96.36 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.002206/1.387, allocations: 0.966 MB / 0.9366 GB, free: 96.35 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.387, allocations: 1.219 kB / 0.9366 GB, free: 96.35 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/1.388, allocations: 0.5471 MB / 0.9371 GB, free: 96.34 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/1.389, allocations: 59.94 kB / 0.9372 GB, free: 96.34 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/1.393, allocations: 1.159 MB / 0.9383 GB, free: 96.06 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/1.394, allocations: 1.104 MB / 0.9394 GB, free: 95.34 MB / 0.5732 GB Notification: Performance of SimCode: time 8.82e-07/1.394, allocations: 1.656 kB / 0.9394 GB, free: 95.34 MB / 0.5732 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure_fmu --startTime=0 --stopTime=259200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure.fmu > BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe 2>&1)