Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",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.00189/0.00189, allocations: 175.6 kB / 7.451 MB, free: 2.27 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7066/0.7066, 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.672/1.672, allocations: 221.3 MB / 395 MB, free: 10.23 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.001045/0.001045, allocations: 94.47 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.548/0.5491, allocations: 88.43 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.7554, allocations: 82.29 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6786/1.434, allocations: 109.8 MB / 0.7405 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/1.434, allocations: 72.58 kB / 0.7406 GB, free: 11.08 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0008144/1.435, allocations: 360.9 kB / 0.7409 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.435, allocations: 7.656 kB / 0.7409 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/1.435, allocations: 4.578 kB / 0.7409 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/1.436, allocations: 165 kB / 0.7411 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.436, allocations: 0.6562 kB / 0.7411 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/1.436, allocations: 4 kB / 0.7411 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.775e-05/1.436, allocations: 0 / 0.7411 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.173e-05/1.436, allocations: 34.22 kB / 0.7411 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.436, allocations: 0 / 0.7411 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.436, allocations: 0 / 0.7411 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.436, allocations: 0 / 0.7411 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/1.436, allocations: 127.5 kB / 0.7412 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.801e-05/1.436, allocations: 25.66 kB / 0.7412 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/1.436, allocations: 9.609 kB / 0.7413 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/1.436, allocations: 0 / 0.7413 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/1.436, allocations: 35.25 kB / 0.7413 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/1.436, allocations: 0 / 0.7413 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/1.436, allocations: 31.92 kB / 0.7413 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/1.436, allocations: 55.28 kB / 0.7414 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.402e-05/1.436, allocations: 85 kB / 0.7415 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/1.436, allocations: 29.73 kB / 0.7415 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/1.436, allocations: 84.08 kB / 0.7416 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/1.436, allocations: 0.5156 kB / 0.7416 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/1.436, allocations: 0 / 0.7416 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.437, allocations: 315.7 kB / 0.7419 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/1.437, allocations: 0 / 0.7419 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/1.437, allocations: 3.875 kB / 0.7419 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/1.437, allocations: 0 / 0.7419 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.437, allocations: 3.938 kB / 0.7419 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.948e-05/1.437, allocations: 35.61 kB / 0.7419 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.437, allocations: 4.672 kB / 0.7419 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/1.437, allocations: 3.938 kB / 0.7419 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.437, allocations: 0 / 0.7419 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/1.437, allocations: 4.688 kB / 0.7419 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.437, allocations: 0 / 0.7419 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/1.437, allocations: 2.391 kB / 0.7419 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/1.437, allocations: 0 / 0.7419 GB, free: 25.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.331e-05/1.437, allocations: 109.3 kB / 0.742 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/1.437, allocations: 10.2 kB / 0.742 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/1.437, allocations: 3 kB / 0.742 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/1.437, allocations: 0 / 0.742 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.437, allocations: 1.172 kB / 0.742 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/1.437, allocations: 3.984 kB / 0.742 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.086e-05/1.437, allocations: 134.8 kB / 0.7422 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.437, allocations: 1.172 kB / 0.7422 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-06/1.437, allocations: 0 / 0.7422 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/1.437, allocations: 0 / 0.7422 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.437, allocations: 0 / 0.7422 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/1.437, allocations: 4 kB / 0.7422 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.437, allocations: 6.156 kB / 0.7422 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.925e-05/1.437, allocations: 49.83 kB / 0.7422 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002022/1.437, allocations: 443.3 kB / 0.7427 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/1.437, allocations: 81.83 kB / 0.7427 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/1.437, allocations: 0.6094 kB / 0.7427 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-06/1.437, allocations: 0 / 0.7427 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/1.437, allocations: 0.6562 kB / 0.7427 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-06/1.437, allocations: 0 / 0.7427 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.288e-05/1.438, allocations: 79.19 kB / 0.7428 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007037/1.438, allocations: 4.594 kB / 0.7428 GB, free: 24.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001174/1.438, allocations: 91.64 kB / 0.7429 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.851e-05/1.438, allocations: 11.66 kB / 0.7429 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.438, allocations: 0 / 0.7429 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-06/1.438, allocations: 3.938 kB / 0.7429 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/1.439, allocations: 7.578 kB / 0.7429 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/1.439, allocations: 42.22 kB / 0.743 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/1.439, allocations: 0.6858 MB / 0.7436 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/1.439, allocations: 0 / 0.7436 GB, free: 23.77 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)