Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",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.005828/0.005828, allocations: 187 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7832/0.7832, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.566/1.566, allocations: 221.3 MB / 395 MB, free: 10.22 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.0009938/0.0009936, allocations: 90.28 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.471/0.472, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.6537, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.09/4.743, allocations: 1.9 GB / 2.534 GB, free: 51.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/4.744, allocations: 83.95 kB / 2.534 GB, free: 51.45 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.6993/5.443, allocations: 154.6 MB / 2.685 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/5.443, allocations: 8 kB / 2.685 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/5.445, allocations: 282.2 kB / 2.685 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/5.446, allocations: 0.8361 MB / 2.686 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/5.446, allocations: 28 kB / 2.686 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/5.447, allocations: 55.98 kB / 2.686 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001613/5.448, allocations: 1.155 MB / 2.687 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/5.45, allocations: 0.8715 MB / 2.688 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/5.45, allocations: 0 / 2.688 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/5.45, allocations: 0 / 2.688 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/5.45, allocations: 24 kB / 2.688 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004982/5.455, allocations: 2.996 MB / 2.691 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/5.456, allocations: 0.9004 MB / 2.692 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/5.456, allocations: 340.6 kB / 2.692 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/5.457, allocations: 223.1 kB / 2.692 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006141/5.457, allocations: 483.7 kB / 2.693 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 3.537e-06/5.457, allocations: 3.938 kB / 2.693 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.002175/5.459, allocations: 0.8406 MB / 2.693 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/5.459, allocations: 240.1 kB / 2.694 GB, free: 166 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/5.46, allocations: 0.7265 MB / 2.694 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.092e-05/5.46, allocations: 29.7 kB / 2.694 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/5.461, allocations: 332.2 kB / 2.695 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/5.461, allocations: 275.9 kB / 2.695 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/5.461, allocations: 0 / 2.695 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/5.461, allocations: 334 kB / 2.695 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/5.461, allocations: 253.5 kB / 2.696 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/5.462, allocations: 382 kB / 2.696 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/5.462, allocations: 314.2 kB / 2.696 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/5.462, allocations: 0 / 2.696 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001811/5.464, allocations: 0.8441 MB / 2.697 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/5.464, allocations: 4 kB / 2.697 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/5.464, allocations: 0 / 2.697 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007621/5.465, allocations: 113.6 kB / 2.697 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/5.466, allocations: 187.8 kB / 2.697 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/5.468, allocations: 2.726 MB / 2.7 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008908/5.469, allocations: 95.42 kB / 2.7 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/5.469, allocations: 35.97 kB / 2.7 GB, free: 159.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (87): * Single equations (assignments): 85 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000192/5.47, allocations: 124.6 kB / 2.7 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/5.47, allocations: 90.88 kB / 2.7 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/5.472, allocations: 1.128 MB / 2.701 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/5.472, allocations: 19.92 kB / 2.701 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/5.472, allocations: 0 / 2.701 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/5.472, allocations: 7.984 kB / 2.701 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/5.476, allocations: 2.082 MB / 2.704 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/5.476, allocations: 0 / 2.704 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/5.477, allocations: 191.8 kB / 2.704 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000628/5.477, allocations: 117.5 kB / 2.704 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/5.477, allocations: 15.98 kB / 2.704 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/5.48, allocations: 2.749 MB / 2.707 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/5.48, allocations: 0 / 2.707 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001958/5.482, allocations: 1.004 MB / 2.707 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001951/5.484, allocations: 1.446 MB / 2.709 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005566/5.484, allocations: 335.6 kB / 2.709 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/5.484, allocations: 7.906 kB / 2.709 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/5.485, allocations: 72.48 kB / 2.709 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/5.485, allocations: 64.84 kB / 2.709 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.128e-05/5.485, allocations: 43.97 kB / 2.709 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006501/5.486, allocations: 0.5694 MB / 2.71 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002356/5.488, allocations: 0.5979 MB / 2.711 GB, free: 148.1 MB / 0.6823 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 (95): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002202/5.491, allocations: 1.391 MB / 2.712 GB, free: 147 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001476/5.492, allocations: 0.8901 MB / 2.713 GB, free: 146 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/5.492, allocations: 4 kB / 2.713 GB, free: 146 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007683/5.493, allocations: 0.6124 MB / 2.713 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/5.494, allocations: 259.2 kB / 2.714 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/5.499, allocations: 1.624 MB / 2.715 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008891/5.5, allocations: 1.24 MB / 2.716 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/5.5, allocations: 0 / 2.716 GB, free: 142.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)