Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.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.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",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.003712/0.003712, allocations: 187.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7511/0.7511, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.509/1.509, 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.001115/0.001116, allocations: 111 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4731/0.4743, allocations: 88.44 MB / 0.553 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.6734, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6079/1.281, allocations: 110.2 MB / 0.741 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/1.282, allocations: 76.05 kB / 0.7411 GB, free: 10.68 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.003486/1.285, allocations: 1.195 MB / 0.7422 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/1.285, allocations: 7.719 kB / 0.7422 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/1.285, allocations: 12.61 kB / 0.7422 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/1.285, allocations: 167.5 kB / 0.7424 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/1.285, allocations: 3.812 kB / 0.7424 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/1.285, allocations: 0 / 0.7424 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.374e-05/1.285, allocations: 37.75 kB / 0.7424 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/1.286, allocations: 157.8 kB / 0.7426 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.286, allocations: 7.984 kB / 0.7426 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/1.286, allocations: 3.844 kB / 0.7426 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/1.286, allocations: 25.77 kB / 0.7426 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/1.286, allocations: 0.87 MB / 0.7435 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.822e-05/1.286, allocations: 173.8 kB / 0.7436 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/1.287, allocations: 80.14 kB / 0.7437 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/1.287, allocations: 79.22 kB / 0.7438 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/1.287, allocations: 115.3 kB / 0.7439 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/1.287, allocations: 0 / 0.7439 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.529e-05/1.287, allocations: 33.42 kB / 0.7439 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.287, allocations: 317.5 kB / 0.7442 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.287, allocations: 149.1 kB / 0.7444 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/1.287, allocations: 25.7 kB / 0.7444 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/1.287, allocations: 149.2 kB / 0.7445 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-06/1.287, allocations: 9.391 kB / 0.7446 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/1.287, allocations: 0 / 0.7446 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.287, allocations: 321.5 kB / 0.7449 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/1.287, allocations: 23.39 kB / 0.7449 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/1.287, allocations: 214.6 kB / 0.7451 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/1.287, allocations: 64.64 kB / 0.7451 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.287, allocations: 0 / 0.7451 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002384/1.288, allocations: 155.7 kB / 0.7453 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.288, allocations: 8.312 kB / 0.7453 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.288, allocations: 3.844 kB / 0.7453 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.288, allocations: 11.69 kB / 0.7453 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/1.288, allocations: 46.98 kB / 0.7454 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/1.288, allocations: 9.016 kB / 0.7454 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.36e-05/1.288, allocations: 21.5 kB / 0.7454 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/1.288, allocations: 7.719 kB / 0.7454 GB, free: 23.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001073/1.288, allocations: 202.7 kB / 0.7456 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/1.288, allocations: 114.2 kB / 0.7457 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/1.288, allocations: 120.8 kB / 0.7458 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.924e-05/1.288, allocations: 178 kB / 0.746 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.884e-05/1.288, allocations: 176.6 kB / 0.7462 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.621e-05/1.288, allocations: 180.2 kB / 0.7463 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/1.289, allocations: 402.4 kB / 0.7467 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.473e-05/1.289, allocations: 101 kB / 0.7468 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/1.289, allocations: 111.8 kB / 0.7469 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.751e-05/1.289, allocations: 180.1 kB / 0.7471 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/1.289, allocations: 181.4 kB / 0.7473 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-05/1.289, allocations: 180.2 kB / 0.7474 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.248e-05/1.289, allocations: 181.1 kB / 0.7476 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001409/1.289, allocations: 312.8 kB / 0.7479 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002293/1.289, allocations: 0.6781 MB / 0.7486 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/1.289, allocations: 187.6 kB / 0.7487 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/1.29, allocations: 186.8 kB / 0.7489 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/1.29, allocations: 116.5 kB / 0.749 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/1.29, allocations: 177.3 kB / 0.7492 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/1.29, allocations: 101.5 kB / 0.7493 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.783e-05/1.29, allocations: 112.3 kB / 0.7494 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009247/1.291, allocations: 23.09 kB / 0.7494 GB, free: 19.18 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 (0): * Single equations (assignments): 0 * 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.0002028/1.291, allocations: 186.7 kB / 0.7496 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001103/1.291, allocations: 63.7 kB / 0.7497 GB, free: 19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.291, allocations: 3.625 kB / 0.7497 GB, free: 19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/1.291, allocations: 1.312 kB / 0.7497 GB, free: 19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/1.291, allocations: 0.5365 MB / 0.7502 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/1.292, allocations: 180.3 kB / 0.7504 GB, free: 18.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/1.292, allocations: 0.7108 MB / 0.7511 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/1.292, allocations: 0 / 0.7511 GB, free: 17.62 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)