Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.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,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_StrobeInfoManager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.StrobeInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_StrobeInfoManager",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.004245/0.004245, allocations: 183.3 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.724/0.724, 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.617/1.617, allocations: 221.3 MB / 395 MB, free: 10.16 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.001159/0.001159, allocations: 102.2 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.5563/0.5575, allocations: 88.42 MB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.7933, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7027/1.496, allocations: 115.6 MB / 0.7462 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/1.496, allocations: 71.25 kB / 0.7462 GB, free: 10.87 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.08284/1.579, allocations: 29.1 MB / 0.7747 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.579, allocations: 12.41 kB / 0.7747 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/1.58, allocations: 146.8 kB / 0.7748 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/1.582, allocations: 1.051 MB / 0.7758 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/1.582, allocations: 28.91 kB / 0.7759 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.582, allocations: 52.2 kB / 0.7759 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002944/1.585, allocations: 1.777 MB / 0.7776 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/1.587, allocations: 1.406 MB / 0.779 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/1.587, allocations: 7.5 kB / 0.779 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.587, allocations: 6.312 kB / 0.779 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-05/1.587, allocations: 30.66 kB / 0.7791 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007402/1.594, allocations: 6.589 MB / 0.7855 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/1.596, allocations: 1.222 MB / 0.7867 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006692/1.597, allocations: 0.4998 MB / 0.7872 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/1.597, allocations: 23.83 kB / 0.7872 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.598, allocations: 0.7446 MB / 0.7879 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=98): time 3.066e-06/1.598, allocations: 4 kB / 0.7879 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98): time 0.002388/1.6, allocations: 1.278 MB / 0.7892 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/1.601, allocations: 405.5 kB / 0.7896 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/1.603, allocations: 1.311 MB / 0.7908 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/1.603, allocations: 56.5 kB / 0.7909 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/1.603, allocations: 403.6 kB / 0.7913 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/1.603, allocations: 344.9 kB / 0.7916 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/1.603, allocations: 0 / 0.7916 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.604, allocations: 356.6 kB / 0.792 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006871/1.604, allocations: 0.5173 MB / 0.7925 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.605, allocations: 0.9465 MB / 0.7934 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/1.606, allocations: 0.6743 MB / 0.794 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.606, allocations: 4 kB / 0.794 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00275/1.609, allocations: 1.675 MB / 0.7957 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.609, allocations: 4 kB / 0.7957 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/1.609, allocations: 19.98 kB / 0.7957 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.242e-05/1.609, allocations: 20 kB / 0.7957 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009472/1.61, allocations: 290.8 kB / 0.796 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/1.61, allocations: 23.94 kB / 0.796 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008591/1.611, allocations: 114.7 kB / 0.7961 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/1.611, allocations: 70.34 kB / 0.7962 GB, free: 1.594 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.0003914/1.612, allocations: 164.6 kB / 0.7964 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/1.612, allocations: 134.3 kB / 0.7965 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00335/1.615, allocations: 1.891 MB / 0.7983 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/1.615, allocations: 20 kB / 0.7984 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.615, allocations: 0 / 0.7984 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/1.615, allocations: 15.97 kB / 0.7984 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/1.617, allocations: 1.323 MB / 0.7997 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.617, allocations: 0 / 0.7997 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/1.618, allocations: 258.5 kB / 0.7999 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/1.618, allocations: 8 kB / 0.7999 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-05/1.618, allocations: 35.16 kB / 0.7999 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/1.618, allocations: 12 kB / 0.8 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.618, allocations: 3.984 kB / 0.8 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002491/1.621, allocations: 1.725 MB / 0.8016 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002621/1.623, allocations: 2.127 MB / 0.8037 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/1.624, allocations: 301.6 kB / 0.804 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/1.624, allocations: 40.12 kB / 0.8041 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/1.625, allocations: 35.41 kB / 0.8041 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.625, allocations: 101.7 kB / 0.8042 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.625, allocations: 70.19 kB / 0.8042 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001494/1.626, allocations: 0.9939 MB / 0.8052 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002022/1.629, allocations: 340.7 kB / 0.8055 GB, free: 9.906 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.001489/1.63, allocations: 0.5333 MB / 0.8061 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002472/1.633, allocations: 1.349 MB / 0.8074 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.633, allocations: 0 / 0.8074 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.634, allocations: 0.7156 MB / 0.8081 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.635, allocations: 205.4 kB / 0.8083 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/1.641, allocations: 2.131 MB / 0.8104 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/1.643, allocations: 1.52 MB / 0.8118 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of SimCode: time 1.603e-06/1.643, allocations: 0 / 0.8118 GB, free: 3.734 MB / 0.5261 GB (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Examples_StrobeInfoManager_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_StrobeInfoManager.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.pipe 2>&1)