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: translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") [: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.00175/0.00175, allocations: 173.7 kB / 7.458 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6013/0.6013, 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.148/1.148, allocations: 221.3 MB / 395 MB, free: 10.25 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.0008601/0.0008602, allocations: 98.61 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.662e-06/6.772e-06, allocations: 2.719 kB / 0.5528 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 82.3 MB / 0.6332 GB, free: 14.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.677/2.794, allocations: 1.9 GB / 2.533 GB, free: 61.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/2.794, allocations: 83.95 kB / 2.534 GB, free: 61.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.4937/3.287, allocations: 153.3 MB / 2.683 GB, free: 186 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.805e-05/3.288, allocations: 32 kB / 2.683 GB, free: 186 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.002294/3.29, allocations: 1.377 MB / 2.685 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/3.29, allocations: 15.97 kB / 2.685 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/3.291, allocations: 286.1 kB / 2.685 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/3.293, allocations: 0.8242 MB / 2.686 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/3.293, allocations: 32 kB / 2.686 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.394e-05/3.293, allocations: 52 kB / 2.686 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001391/3.294, allocations: 1.144 MB / 2.687 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/3.295, allocations: 0.8715 MB / 2.688 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/3.295, allocations: 0 / 2.688 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/3.295, allocations: 4 kB / 2.688 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/3.295, allocations: 20 kB / 2.688 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/3.299, allocations: 3.005 MB / 2.691 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/3.3, allocations: 0.9026 MB / 2.692 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/3.301, allocations: 339.4 kB / 2.692 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/3.301, allocations: 214.8 kB / 2.692 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005545/3.302, allocations: 487.7 kB / 2.693 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 1.803e-06/3.302, allocations: 0 / 2.693 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.001823/3.303, allocations: 0.835 MB / 2.693 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/3.303, allocations: 240.1 kB / 2.694 GB, free: 175 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/3.304, allocations: 0.7303 MB / 2.694 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/3.304, allocations: 25.7 kB / 2.694 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/3.304, allocations: 336.2 kB / 2.695 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/3.305, allocations: 275.9 kB / 2.695 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/3.305, allocations: 0 / 2.695 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.861e-05/3.305, allocations: 334 kB / 2.695 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/3.305, allocations: 253.5 kB / 2.695 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/3.305, allocations: 378.1 kB / 2.696 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/3.306, allocations: 314.2 kB / 2.696 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/3.306, allocations: 0 / 2.696 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001565/3.307, allocations: 0.8388 MB / 2.697 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/3.307, allocations: 4 kB / 2.697 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/3.307, allocations: 4 kB / 2.697 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/3.308, allocations: 117.7 kB / 2.697 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/3.309, allocations: 179.8 kB / 2.697 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/3.311, allocations: 2.74 MB / 2.7 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/3.312, allocations: 87.48 kB / 2.7 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/3.312, allocations: 35.92 kB / 2.7 GB, free: 168.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.0001469/3.312, allocations: 116.8 kB / 2.7 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/3.312, allocations: 94.86 kB / 2.7 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/3.314, allocations: 1.136 MB / 2.701 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/3.314, allocations: 12 kB / 2.701 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/3.314, allocations: 0 / 2.701 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/3.314, allocations: 3.984 kB / 2.701 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/3.317, allocations: 2.088 MB / 2.703 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/3.317, allocations: 0 / 2.703 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/3.318, allocations: 191.8 kB / 2.704 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005801/3.319, allocations: 117.6 kB / 2.704 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/3.319, allocations: 15.98 kB / 2.704 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/3.321, allocations: 2.756 MB / 2.706 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/3.321, allocations: 0 / 2.706 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001572/3.322, allocations: 1.006 MB / 2.707 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/3.323, allocations: 339.6 kB / 2.708 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/3.323, allocations: 0 / 2.708 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/3.324, allocations: 79.84 kB / 2.708 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/3.324, allocations: 60.89 kB / 2.708 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/3.324, allocations: 39.98 kB / 2.708 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005203/3.324, allocations: 0.5733 MB / 2.708 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001344/3.326, allocations: 490 kB / 2.709 GB, free: 158.7 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.001917/3.328, allocations: 1.404 MB / 2.71 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001152/3.329, allocations: 0.8901 MB / 2.711 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/3.329, allocations: 0 / 2.711 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000702/3.329, allocations: 0.6086 MB / 2.712 GB, free: 156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/3.33, allocations: 252.3 kB / 2.712 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/3.334, allocations: 1.627 MB / 2.714 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007799/3.335, allocations: 1.244 MB / 2.715 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/3.335, allocations: 3.938 kB / 2.715 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.02845/3.363, allocations: 23.1 MB / 2.737 GB, free: 129.9 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)