Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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/Complex 4.0.0+maint.om/package.mo): time 0.004118/0.004118, allocations: 183.6 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7188/0.7188, allocations: 133.5 MB / 141.4 MB, free: 15.63 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108.9 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5522/0.5533, allocations: 88.41 MB / 0.5529 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.7861, allocations: 82.31 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.622/5.408, allocations: 1.693 GB / 2.326 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/5.408, allocations: 82.22 kB / 2.326 GB, free: 259 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.2224/5.631, allocations: 93.77 MB / 2.418 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/5.631, allocations: 8 kB / 2.418 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/5.633, allocations: 401.3 kB / 2.418 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/5.635, allocations: 1.019 MB / 2.419 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/5.635, allocations: 47.98 kB / 2.419 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/5.635, allocations: 76 kB / 2.419 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002579/5.638, allocations: 1.875 MB / 2.421 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/5.64, allocations: 1.273 MB / 2.422 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/5.64, allocations: 0 / 2.422 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/5.64, allocations: 7.984 kB / 2.422 GB, free: 174 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/5.64, allocations: 32 kB / 2.422 GB, free: 174 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007351/5.647, allocations: 4.294 MB / 2.427 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/5.649, allocations: 1.26 MB / 2.428 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/5.65, allocations: 477.6 kB / 2.428 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/5.65, allocations: 65.16 kB / 2.428 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/5.651, allocations: 0.682 MB / 2.429 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 4.418e-06/5.651, allocations: 0 / 2.429 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.00341/5.654, allocations: 1.244 MB / 2.43 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/5.654, allocations: 462.2 kB / 2.431 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/5.656, allocations: 0.9147 MB / 2.431 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/5.656, allocations: 33.7 kB / 2.432 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/5.656, allocations: 444.6 kB / 2.432 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/5.657, allocations: 429.5 kB / 2.432 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/5.657, allocations: 0 / 2.432 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/5.657, allocations: 353.9 kB / 2.433 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/5.657, allocations: 374.5 kB / 2.433 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/5.658, allocations: 0.5863 MB / 2.434 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/5.659, allocations: 491.5 kB / 2.434 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/5.659, allocations: 0 / 2.434 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002863/5.662, allocations: 1.268 MB / 2.435 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/5.662, allocations: 4 kB / 2.435 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/5.662, allocations: 4 kB / 2.435 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/5.663, allocations: 177.6 kB / 2.436 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/5.664, allocations: 267.6 kB / 2.436 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/5.668, allocations: 2.933 MB / 2.439 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/5.67, allocations: 135.2 kB / 2.439 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/5.67, allocations: 59.95 kB / 2.439 GB, free: 156.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004025/5.67, allocations: 136.6 kB / 2.439 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003906/5.671, allocations: 138.3 kB / 2.439 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00464/5.676, allocations: 1.872 MB / 2.441 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/5.676, allocations: 19.91 kB / 2.441 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/5.676, allocations: 4 kB / 2.441 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/5.676, allocations: 7.969 kB / 2.441 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/5.677, allocations: 1.327 MB / 2.442 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/5.678, allocations: 7.938 kB / 2.442 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/5.68, allocations: 283.7 kB / 2.443 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/5.682, allocations: 169.5 kB / 2.443 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004509/5.682, allocations: 39.89 kB / 2.443 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0053/5.688, allocations: 2.957 MB / 2.446 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/5.688, allocations: 128 / 2.446 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003765/5.691, allocations: 1.472 MB / 2.447 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00321/5.695, allocations: 1.886 MB / 2.449 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008541/5.696, allocations: 466.7 kB / 2.449 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/5.696, allocations: 7.984 kB / 2.449 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/5.697, allocations: 115.9 kB / 2.449 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/5.697, allocations: 97.41 kB / 2.45 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/5.697, allocations: 59.95 kB / 2.45 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001043/5.698, allocations: 0.7194 MB / 2.45 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002667/5.701, allocations: 0.5844 MB / 2.451 GB, free: 143.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002466/5.703, allocations: 1.122 MB / 2.452 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002804/5.706, allocations: 1.277 MB / 2.453 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/5.706, allocations: 1.031 kB / 2.453 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/5.708, allocations: 0.8528 MB / 2.454 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/5.71, allocations: 422.5 kB / 2.454 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/5.717, allocations: 2.554 MB / 2.457 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/5.719, allocations: 1.513 MB / 2.458 GB, free: 136 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/5.719, allocations: 0 / 2.458 GB, free: 136 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)