Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.003193/0.003193, allocations: 182.2 kB / 7.458 MB, free: 2.531 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8544/0.8544, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.554/1.554, 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.001248/0.001248, allocations: 99.41 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.525/0.5263, allocations: 88.44 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.7445, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6649/1.41, allocations: 109.7 MB / 0.7405 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.41, allocations: 73.66 kB / 0.7405 GB, free: 10.63 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001963/1.412, allocations: 0.5838 MB / 0.7411 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.412, allocations: 11.41 kB / 0.7411 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/1.412, allocations: 4.703 kB / 0.7411 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/1.412, allocations: 163.8 kB / 0.7413 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.412, allocations: 0 / 0.7413 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/1.412, allocations: 3.875 kB / 0.7413 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.249e-05/1.412, allocations: 27.92 kB / 0.7413 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/1.412, allocations: 67.53 kB / 0.7414 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.412, allocations: 0 / 0.7414 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.412, allocations: 0 / 0.7414 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/1.412, allocations: 9.469 kB / 0.7414 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/1.413, allocations: 233.9 kB / 0.7416 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/1.413, allocations: 19.25 kB / 0.7416 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/1.413, allocations: 4.859 kB / 0.7416 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/1.413, allocations: 11.84 kB / 0.7416 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/1.413, allocations: 34.88 kB / 0.7417 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 2.344e-06/1.413, allocations: 3.875 kB / 0.7417 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002004/1.413, allocations: 32.14 kB / 0.7417 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/1.413, allocations: 81.08 kB / 0.7418 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/1.413, allocations: 99.55 kB / 0.7419 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/1.413, allocations: 25.7 kB / 0.7419 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/1.413, allocations: 108.6 kB / 0.742 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/1.413, allocations: 11.55 kB / 0.742 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/1.413, allocations: 0 / 0.742 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.414, allocations: 312.2 kB / 0.7423 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/1.414, allocations: 15.73 kB / 0.7423 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.841e-05/1.414, allocations: 56.94 kB / 0.7424 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/1.414, allocations: 22.92 kB / 0.7424 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.414, allocations: 0 / 0.7424 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000129/1.414, allocations: 87.14 kB / 0.7425 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.414, allocations: 4.375 kB / 0.7425 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.414, allocations: 3.875 kB / 0.7425 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.414, allocations: 0 / 0.7425 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/1.414, allocations: 16.72 kB / 0.7425 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.414, allocations: 4.625 kB / 0.7425 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/1.414, allocations: 12.66 kB / 0.7425 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/1.414, allocations: 4.5 kB / 0.7425 GB, free: 24.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001165/1.414, allocations: 131.4 kB / 0.7427 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/1.414, allocations: 7.906 kB / 0.7427 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/1.414, allocations: 12.38 kB / 0.7427 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/1.414, allocations: 0 / 0.7427 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/1.414, allocations: 0 / 0.7427 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.414, allocations: 0.75 kB / 0.7427 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/1.414, allocations: 135 kB / 0.7428 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/1.414, allocations: 0 / 0.7428 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/1.414, allocations: 0 / 0.7428 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.414, allocations: 0 / 0.7428 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/1.414, allocations: 8.391 kB / 0.7428 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/1.414, allocations: 8.453 kB / 0.7428 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.414, allocations: 0.7969 kB / 0.7428 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000137/1.415, allocations: 128.4 kB / 0.743 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002828/1.415, allocations: 0.5027 MB / 0.7434 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/1.415, allocations: 93.33 kB / 0.7435 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/1.415, allocations: 0.7031 kB / 0.7435 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/1.415, allocations: 0 / 0.7435 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/1.415, allocations: 3.672 kB / 0.7435 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/1.415, allocations: 3.969 kB / 0.7435 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.42e-05/1.415, allocations: 89.48 kB / 0.7436 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007787/1.416, allocations: 8.438 kB / 0.7436 GB, free: 23.75 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002283/1.416, allocations: 114 kB / 0.7437 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001549/1.416, allocations: 58.88 kB / 0.7438 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.416, allocations: 0 / 0.7438 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.094e-05/1.416, allocations: 33.27 kB / 0.7438 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/1.417, allocations: 4.844 kB / 0.7438 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/1.417, allocations: 59.91 kB / 0.7439 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/1.417, allocations: 0.6972 MB / 0.7446 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/1.417, allocations: 4.344 kB / 0.7446 GB, free: 22.8 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)