Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_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.002906/0.002906, allocations: 183 kB / 7.459 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.7025/0.7025, 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.481/1.481, allocations: 221.3 MB / 395 MB, free: 10.28 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.001347/0.001347, allocations: 93.3 kB / 477.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4904/0.4918, allocations: 88.44 MB / 0.5529 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.6999, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6188/1.319, allocations: 110.2 MB / 0.741 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.319, allocations: 76.89 kB / 0.741 GB, free: 10.73 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.003681/1.323, allocations: 1.204 MB / 0.7422 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.323, allocations: 7.688 kB / 0.7422 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/1.323, allocations: 7.781 kB / 0.7422 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/1.323, allocations: 172 kB / 0.7424 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/1.323, allocations: 0 / 0.7424 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/1.323, allocations: 0 / 0.7424 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.891e-05/1.323, allocations: 35.58 kB / 0.7424 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/1.323, allocations: 165.2 kB / 0.7426 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/1.323, allocations: 0 / 0.7426 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/1.323, allocations: 3.453 kB / 0.7426 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/1.323, allocations: 27.22 kB / 0.7426 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/1.324, allocations: 0.8711 MB / 0.7435 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/1.324, allocations: 173 kB / 0.7436 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/1.324, allocations: 80.14 kB / 0.7437 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/1.324, allocations: 75.28 kB / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/1.324, allocations: 110.2 kB / 0.7439 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.324, allocations: 3.969 kB / 0.7439 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.458e-05/1.325, allocations: 37.36 kB / 0.7439 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/1.325, allocations: 314.2 kB / 0.7442 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/1.325, allocations: 154.1 kB / 0.7444 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/1.325, allocations: 25.7 kB / 0.7444 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/1.325, allocations: 146.7 kB / 0.7445 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-06/1.325, allocations: 8.203 kB / 0.7445 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/1.325, allocations: 3.938 kB / 0.7446 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.325, allocations: 320.3 kB / 0.7449 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/1.325, allocations: 21.66 kB / 0.7449 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/1.325, allocations: 215.6 kB / 0.7451 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/1.325, allocations: 62.09 kB / 0.7451 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.325, allocations: 0 / 0.7451 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002566/1.326, allocations: 162.7 kB / 0.7453 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.326, allocations: 7.719 kB / 0.7453 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.326, allocations: 3.781 kB / 0.7453 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.326, allocations: 8.188 kB / 0.7453 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/1.326, allocations: 42.42 kB / 0.7454 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.326, allocations: 10.02 kB / 0.7454 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/1.326, allocations: 19.41 kB / 0.7454 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/1.326, allocations: 11.47 kB / 0.7454 GB, free: 23.43 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.0001507/1.326, allocations: 200.8 kB / 0.7456 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/1.326, allocations: 109.5 kB / 0.7457 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47e-05/1.326, allocations: 113.9 kB / 0.7458 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/1.326, allocations: 184.6 kB / 0.746 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.203e-05/1.326, allocations: 177.3 kB / 0.7461 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-05/1.327, allocations: 185.5 kB / 0.7463 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/1.327, allocations: 411.5 kB / 0.7467 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/1.327, allocations: 101.7 kB / 0.7468 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/1.327, allocations: 102.3 kB / 0.7469 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.431e-05/1.327, allocations: 181.7 kB / 0.7471 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/1.327, allocations: 183.7 kB / 0.7473 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.792e-05/1.327, allocations: 184.9 kB / 0.7474 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.338e-05/1.327, allocations: 180.2 kB / 0.7476 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001615/1.327, allocations: 304.9 kB / 0.7479 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003017/1.328, allocations: 0.6817 MB / 0.7486 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/1.328, allocations: 194 kB / 0.7487 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.328, allocations: 180.9 kB / 0.7489 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/1.328, allocations: 109.5 kB / 0.749 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/1.328, allocations: 180.9 kB / 0.7492 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/1.328, allocations: 105.7 kB / 0.7493 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.561e-05/1.328, allocations: 116.1 kB / 0.7494 GB, free: 19.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009908/1.329, allocations: 23.12 kB / 0.7494 GB, free: 19.22 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.0002516/1.33, allocations: 186.5 kB / 0.7496 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001462/1.33, allocations: 65.08 kB / 0.7497 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.33, allocations: 7.906 kB / 0.7497 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/1.33, allocations: 0 / 0.7497 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/1.33, allocations: 0.5225 MB / 0.7502 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/1.33, allocations: 179.3 kB / 0.7504 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/1.331, allocations: 0.7111 MB / 0.7511 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/1.331, allocations: 4 kB / 0.7511 GB, free: 17.66 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)