Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.7415/0.7415, allocations: 141.8 MB / 149.1 MB, free: 3.992 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.001145/0.001145, allocations: 189 kB / 181.9 MB, free: 15.74 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.491/1.491, allocations: 221.3 MB / 436 MB, free: 8.871 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.001026/0.001025, allocations: 104.7 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 277.4 kB / 0.5884 GB, free: 11.89 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2111/0.213, allocations: 89.64 MB / 0.676 GB, free: 2.168 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5459/0.7589, allocations: 82.76 MB / 0.7568 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.875/4.634, allocations: 1.695 GB / 2.452 GB, free: 36.98 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/4.634, allocations: 83.94 kB / 2.452 GB, free: 36.9 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.7212/5.356, allocations: 102.3 MB / 2.551 GB, free: 220.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/5.356, allocations: 13.23 kB / 2.552 GB, free: 220.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/5.369, allocations: 2.127 MB / 2.554 GB, free: 218.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/5.372, allocations: 1.05 MB / 2.555 GB, free: 217.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.112e-05/5.373, allocations: 67.94 kB / 2.555 GB, free: 217.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/5.373, allocations: 112 kB / 2.555 GB, free: 217.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005221/5.378, allocations: 2.862 MB / 2.558 GB, free: 214.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/5.382, allocations: 2.176 MB / 2.56 GB, free: 212.3 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/5.382, allocations: 0 / 2.56 GB, free: 212.3 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/5.382, allocations: 0 / 2.56 GB, free: 212.3 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/5.382, allocations: 51.91 kB / 2.56 GB, free: 212.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/5.397, allocations: 6.891 MB / 2.566 GB, free: 205.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/5.399, allocations: 1.837 MB / 2.568 GB, free: 203.5 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/5.401, allocations: 1.002 MB / 2.569 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/5.401, allocations: 0.507 MB / 2.57 GB, free: 201.9 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001673/5.403, allocations: 1.258 MB / 2.571 GB, free: 200.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=195): time 4.278e-06/5.403, allocations: 0 / 2.571 GB, free: 200.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=195): time 0.004804/5.408, allocations: 2.23 MB / 2.573 GB, free: 198.4 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/5.408, allocations: 261.3 kB / 2.573 GB, free: 198.1 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/5.409, allocations: 0.6409 MB / 2.574 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/5.409, allocations: 25.7 kB / 2.574 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/5.409, allocations: 0.5472 MB / 2.575 GB, free: 196.8 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/5.41, allocations: 0.5963 MB / 2.575 GB, free: 196.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/5.41, allocations: 112 / 2.575 GB, free: 196.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001307/5.41, allocations: 438.5 kB / 2.576 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/5.411, allocations: 0.7684 MB / 2.576 GB, free: 195 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/5.412, allocations: 0.9424 MB / 2.577 GB, free: 194 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/5.414, allocations: 1.035 MB / 2.578 GB, free: 193 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/5.414, allocations: 0 / 2.578 GB, free: 193 MB / 0.6982 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004622/5.419, allocations: 2.28 MB / 2.58 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/5.419, allocations: 4 kB / 2.581 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/5.419, allocations: 4 kB / 2.581 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006265/5.42, allocations: 90.53 kB / 2.581 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/5.424, allocations: 0.5813 MB / 2.581 GB, free: 190.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/5.425, allocations: 1.462 MB / 2.583 GB, free: 188.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/5.429, allocations: 302.6 kB / 2.583 GB, free: 188.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003348/5.429, allocations: 91.89 kB / 2.583 GB, free: 188.1 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 205 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004813/5.429, allocations: 129.8 kB / 2.583 GB, free: 188 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/5.43, allocations: 130.4 kB / 2.583 GB, free: 187.9 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007068/5.437, allocations: 2.93 MB / 2.586 GB, free: 184.9 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/5.437, allocations: 24 kB / 2.586 GB, free: 184.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/5.437, allocations: 0 / 2.586 GB, free: 184.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/5.437, allocations: 11.95 kB / 2.586 GB, free: 184.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00835/5.445, allocations: 4.9 MB / 2.591 GB, free: 180 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/5.445, allocations: 3.938 kB / 2.591 GB, free: 180 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003693/5.449, allocations: 0.5641 MB / 2.591 GB, free: 179.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005547/5.45, allocations: 84.78 kB / 2.592 GB, free: 179.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002394/5.45, allocations: 47.92 kB / 2.592 GB, free: 179.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/5.451, allocations: 1.481 MB / 2.593 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/5.451, allocations: 3.906 kB / 2.593 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004894/5.456, allocations: 2.426 MB / 2.595 GB, free: 175.2 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004808/5.461, allocations: 2.844 MB / 2.598 GB, free: 172.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009351/5.462, allocations: 0.5298 MB / 2.599 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/5.463, allocations: 7.984 kB / 2.599 GB, free: 171.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002798/5.465, allocations: 243.7 kB / 2.599 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/5.466, allocations: 109.8 kB / 2.599 GB, free: 171.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/5.466, allocations: 87.86 kB / 2.599 GB, free: 171.4 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007479/5.467, allocations: 0.5343 MB / 2.6 GB, free: 170.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002687/5.469, allocations: 0.6776 MB / 2.6 GB, free: 170.2 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001824/5.471, allocations: 1.097 MB / 2.601 GB, free: 169.2 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.00345/5.475, allocations: 2.124 MB / 2.603 GB, free: 167.1 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/5.475, allocations: 4 kB / 2.603 GB, free: 167.1 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/5.476, allocations: 1.243 MB / 2.605 GB, free: 165.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/5.478, allocations: 229.7 kB / 2.605 GB, free: 165.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/5.485, allocations: 2.834 MB / 2.608 GB, free: 162.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/5.487, allocations: 1.644 MB / 2.609 GB, free: 161.1 MB / 0.6982 GB Notification: Performance of SimCode: time 4.71e-07/5.487, allocations: 0 / 2.609 GB, free: 161.1 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)