Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.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.Examples.StrobeInfoManager_offset,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_StrobeInfoManager_offset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_StrobeInfoManager_offset",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.00352/0.00352, allocations: 183.3 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7866/0.7866, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.658/1.658, 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.001188/0.001188, allocations: 102.3 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.5645/0.5657, allocations: 88.41 MB / 0.5529 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.8048, allocations: 82.31 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7049/1.51, allocations: 115.6 MB / 0.7462 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.51, allocations: 70.98 kB / 0.7462 GB, free: 10.6 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.09105/1.601, allocations: 29.1 MB / 0.7746 GB, free: 17.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/1.601, allocations: 8.125 kB / 0.7746 GB, free: 17.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/1.603, allocations: 147.7 kB / 0.7748 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/1.606, allocations: 1.056 MB / 0.7758 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-05/1.606, allocations: 25.34 kB / 0.7758 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000409/1.607, allocations: 52.23 kB / 0.7759 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00411/1.611, allocations: 1.776 MB / 0.7776 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/1.614, allocations: 1.397 MB / 0.779 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/1.614, allocations: 7.75 kB / 0.779 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.614, allocations: 12.64 kB / 0.779 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/1.614, allocations: 27.25 kB / 0.779 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009066/1.623, allocations: 6.598 MB / 0.7855 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/1.625, allocations: 1.211 MB / 0.7867 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008274/1.626, allocations: 0.5004 MB / 0.7872 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.597e-05/1.626, allocations: 34.98 kB / 0.7872 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/1.628, allocations: 0.7399 MB / 0.7879 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=98): time 9.197e-06/1.628, allocations: 0 / 0.7879 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98): time 0.002982/1.631, allocations: 1.274 MB / 0.7892 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002806/1.631, allocations: 401.4 kB / 0.7895 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003526/1.634, allocations: 1.313 MB / 0.7908 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002059/1.635, allocations: 59.69 kB / 0.7909 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/1.635, allocations: 410.6 kB / 0.7913 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/1.636, allocations: 334.9 kB / 0.7916 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/1.636, allocations: 3.938 kB / 0.7916 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.636, allocations: 358.5 kB / 0.7919 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009328/1.637, allocations: 0.5136 MB / 0.7924 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/1.638, allocations: 0.9504 MB / 0.7934 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/1.639, allocations: 0.6691 MB / 0.794 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/1.639, allocations: 7.938 kB / 0.794 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003261/1.643, allocations: 1.68 MB / 0.7957 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.643, allocations: 4.969 kB / 0.7957 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.643, allocations: 12.08 kB / 0.7957 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.865e-05/1.643, allocations: 20 kB / 0.7957 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/1.644, allocations: 295.2 kB / 0.796 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.375e-05/1.644, allocations: 35.84 kB / 0.796 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/1.645, allocations: 110.7 kB / 0.7961 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/1.645, allocations: 75.47 kB / 0.7962 GB, free: 1.363 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 35 ($whenCondition7,$PRE.strobe.tabQCon.nextTimeEvent,strobe.tabQCon.nextTimeEvent,$PRE.strobe.tabQCon.nextTimeEventScaled,strobe.tabQCon.nextTimeEventScaled,$whenCondition6,$PRE.strobe.tabQRad.nextTimeEvent,strobe.tabQRad.nextTimeEvent,$PRE.strobe.tabQRad.nextTimeEventScaled,strobe.tabQRad.nextTimeEventScaled,$whenCondition5,$PRE.strobe.tabTSet.nextTimeEvent,strobe.tabTSet.nextTimeEvent,$PRE.strobe.tabTSet.nextTimeEventScaled,strobe.tabTSet.nextTimeEventScaled,$whenCondition4,$PRE.strobe.tabP.nextTimeEvent,strobe.tabP.nextTimeEvent,$PRE.strobe.tabP.nextTimeEventScaled,strobe.tabP.nextTimeEventScaled,$whenCondition3,$PRE.strobe.tabQ.nextTimeEvent,strobe.tabQ.nextTimeEvent,$PRE.strobe.tabQ.nextTimeEventScaled,strobe.tabQ.nextTimeEventScaled,$whenCondition2,$PRE.strobe.tabDHW.nextTimeEvent,strobe.tabDHW.nextTimeEvent,$PRE.strobe.tabDHW.nextTimeEventScaled,strobe.tabDHW.nextTimeEventScaled,$whenCondition1,$PRE.strobe.tabTSet2.nextTimeEvent,strobe.tabTSet2.nextTimeEvent,$PRE.strobe.tabTSet2.nextTimeEventScaled,strobe.tabTSet2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.0004981/1.646, allocations: 165.6 kB / 0.7964 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008028/1.647, allocations: 138.1 kB / 0.7965 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/1.651, allocations: 1.889 MB / 0.7983 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.502e-05/1.651, allocations: 16 kB / 0.7983 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/1.651, allocations: 4 kB / 0.7983 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/1.651, allocations: 7.969 kB / 0.7984 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/1.654, allocations: 1.321 MB / 0.7996 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.654, allocations: 4 kB / 0.7996 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/1.655, allocations: 251.5 kB / 0.7999 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.124e-05/1.655, allocations: 4 kB / 0.7999 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/1.655, allocations: 39.77 kB / 0.7999 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-05/1.655, allocations: 11.94 kB / 0.7999 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.655, allocations: 8 kB / 0.7999 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003498/1.659, allocations: 1.715 MB / 0.8016 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003345/1.662, allocations: 2.127 MB / 0.8037 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007315/1.663, allocations: 303.4 kB / 0.804 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005638/1.663, allocations: 41.05 kB / 0.804 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/1.664, allocations: 31.98 kB / 0.8041 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/1.664, allocations: 101.1 kB / 0.8042 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.665, allocations: 76.61 kB / 0.8042 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002343/1.667, allocations: 0.9956 MB / 0.8052 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002615/1.67, allocations: 341 kB / 0.8055 GB, free: 9.684 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition7,strobe.tabQCon.nextTimeEvent,strobe.tabQCon.nextTimeEventScaled,$whenCondition6,strobe.tabQRad.nextTimeEvent,strobe.tabQRad.nextTimeEventScaled,$whenCondition5,strobe.tabTSet.nextTimeEvent,strobe.tabTSet.nextTimeEventScaled,$whenCondition4,strobe.tabP.nextTimeEvent,strobe.tabP.nextTimeEventScaled,$whenCondition3,strobe.tabQ.nextTimeEvent,strobe.tabQ.nextTimeEventScaled,$whenCondition2,strobe.tabDHW.nextTimeEvent,strobe.tabDHW.nextTimeEventScaled,$whenCondition1,strobe.tabTSet2.nextTimeEvent,strobe.tabTSet2.nextTimeEventScaled) * Number of discrete states: 14 (strobe.tabTSet2.nextTimeEvent,strobe.tabTSet2.nextTimeEventScaled,strobe.tabDHW.nextTimeEvent,strobe.tabDHW.nextTimeEventScaled,strobe.tabQ.nextTimeEvent,strobe.tabQ.nextTimeEventScaled,strobe.tabP.nextTimeEvent,strobe.tabP.nextTimeEventScaled,strobe.tabTSet.nextTimeEvent,strobe.tabTSet.nextTimeEventScaled,strobe.tabQRad.nextTimeEvent,strobe.tabQRad.nextTimeEventScaled,strobe.tabQCon.nextTimeEvent,strobe.tabQCon.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001811/1.671, allocations: 0.5336 MB / 0.806 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002675/1.674, allocations: 1.347 MB / 0.8074 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.674, allocations: 0 / 0.8074 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/1.675, allocations: 0.7239 MB / 0.8081 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.677, allocations: 199.9 kB / 0.8083 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/1.683, allocations: 2.135 MB / 0.8103 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002464/1.686, allocations: 1.504 MB / 0.8118 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/1.686, allocations: 0 / 0.8118 GB, free: 3.734 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Examples_StrobeInfoManager_offset_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Examples_StrobeInfoManager_offset.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.pipe 2>&1)