Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",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.001072/0.001072, allocations: 178.9 kB / 8.129 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 221.4 MB / 229.9 MB, free: 13.55 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008898/0.0008898, allocations: 98.72 kB / 280.8 MB, free: 10.58 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 0.09579/0.09671, allocations: 55.83 MB / 336.6 MB, free: 2.762 MB / 274.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.1796, allocations: 50.41 MB / 387 MB, free: 312 kB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.3833, allocations: 75.71 MB / 462.7 MB, free: 5.965 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.3835, allocations: 83.47 kB / 462.8 MB, free: 5.887 MB / 338.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00302/0.3866, allocations: 1.116 MB / 463.9 MB, free: 4.766 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3866, allocations: 8 kB / 463.9 MB, free: 4.758 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.3867, allocations: 6.969 kB / 463.9 MB, free: 4.754 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3868, allocations: 174.9 kB / 464.1 MB, free: 4.543 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3868, allocations: 0.8906 kB / 464.1 MB, free: 4.543 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3868, allocations: 4 kB / 464.1 MB, free: 4.539 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.193e-05/0.3869, allocations: 20.5 kB / 464.1 MB, free: 4.52 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3871, allocations: 94.66 kB / 464.2 MB, free: 4.418 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3871, allocations: 1.844 kB / 464.2 MB, free: 4.418 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3872, allocations: 0 / 464.2 MB, free: 4.418 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3872, allocations: 6.016 kB / 464.2 MB, free: 4.414 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.3873, allocations: 135.3 kB / 464.4 MB, free: 4.246 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.283e-05/0.3874, allocations: 47.69 kB / 464.4 MB, free: 4.191 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.3874, allocations: 28.77 kB / 464.4 MB, free: 4.164 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3875, allocations: 0.9688 kB / 464.4 MB, free: 4.164 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.3875, allocations: 32.09 kB / 464.5 MB, free: 4.125 MB / 338.8 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3875, allocations: 1.656 kB / 464.5 MB, free: 4.125 MB / 338.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001324/0.3876, allocations: 50.58 kB / 464.5 MB, free: 4.07 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3877, allocations: 59.41 kB / 464.6 MB, free: 4 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.552e-05/0.3877, allocations: 90.78 kB / 464.7 MB, free: 3.906 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.3878, allocations: 29.7 kB / 464.7 MB, free: 3.871 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.3878, allocations: 89.34 kB / 464.8 MB, free: 3.781 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.45e-06/0.3878, allocations: 0 / 464.8 MB, free: 3.781 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-06/0.3878, allocations: 2.312 kB / 464.8 MB, free: 3.781 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.3879, allocations: 310.8 kB / 465.1 MB, free: 3.469 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.3879, allocations: 8 kB / 465.1 MB, free: 3.461 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.3879, allocations: 28.28 kB / 465.1 MB, free: 3.422 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.625e-05/0.388, allocations: 8.797 kB / 465.1 MB, free: 3.414 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.388, allocations: 0.6562 kB / 465.1 MB, free: 3.414 MB / 338.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.717e-05/0.388, allocations: 53.3 kB / 465.2 MB, free: 3.359 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.3881, allocations: 4 kB / 465.2 MB, free: 3.355 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3881, allocations: 8.828 kB / 465.2 MB, free: 3.348 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3881, allocations: 0 / 465.2 MB, free: 3.348 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.3881, allocations: 9.719 kB / 465.2 MB, free: 3.34 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.3882, allocations: 0.8438 kB / 465.2 MB, free: 3.34 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.3882, allocations: 0 / 465.2 MB, free: 3.34 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3882, allocations: 4 kB / 465.2 MB, free: 3.336 MB / 338.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.659e-05/0.3882, allocations: 109.8 kB / 465.3 MB, free: 3.223 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.3883, allocations: 50.86 kB / 465.4 MB, free: 3.168 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.3884, allocations: 8.5 kB / 465.4 MB, free: 3.156 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3884, allocations: 1.031 kB / 465.4 MB, free: 3.156 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3884, allocations: 3.906 kB / 465.4 MB, free: 3.152 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3884, allocations: 0 / 465.4 MB, free: 3.152 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.594e-05/0.3885, allocations: 139.9 kB / 465.5 MB, free: 2.98 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3885, allocations: 0 / 465.5 MB, free: 2.98 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.3886, allocations: 17.45 kB / 465.5 MB, free: 2.965 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3886, allocations: 0.5938 kB / 465.5 MB, free: 2.965 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3886, allocations: 0 / 465.5 MB, free: 2.965 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3886, allocations: 1.125 kB / 465.5 MB, free: 2.965 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3886, allocations: 5.125 kB / 465.6 MB, free: 2.961 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.698e-05/0.3887, allocations: 84.02 kB / 465.6 MB, free: 2.863 MB / 338.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001688/0.3889, allocations: 462.2 kB / 466.1 MB, free: 2.391 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3889, allocations: 81.02 kB / 466.2 MB, free: 2.293 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.389, allocations: 0 / 466.2 MB, free: 2.293 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.389, allocations: 11.98 kB / 466.2 MB, free: 2.281 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.389, allocations: 4.703 kB / 466.2 MB, free: 2.277 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.389, allocations: 0 / 466.2 MB, free: 2.277 MB / 338.8 MB Notification: Performance of sort global known variables: time 3.394e-05/0.3891, allocations: 87.28 kB / 466.3 MB, free: 2.191 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.0007327/0.3898, allocations: 4.938 kB / 466.3 MB, free: 2.188 MB / 338.8 MB 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 (4): * Single equations (assignments): 4 * 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 8.95e-05/0.3899, allocations: 99.23 kB / 466.4 MB, free: 2.082 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 6.935e-05/0.39, allocations: 19.94 kB / 466.4 MB, free: 2.062 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.39, allocations: 0 / 466.4 MB, free: 2.062 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 3.4e-07/0.39, allocations: 0 / 466.4 MB, free: 2.062 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.3902, allocations: 28.12 kB / 466.4 MB, free: 2.035 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.3904, allocations: 73.59 kB / 466.5 MB, free: 1.945 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.3906, allocations: 0.6963 MB / 467.2 MB, free: 1.227 MB / 338.8 MB Notification: Performance of SimCode: time 3.91e-07/0.3906, allocations: 0 / 467.2 MB, free: 1.227 MB / 338.8 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1)