Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",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.001033/0.001033, allocations: 185.7 kB / 8.135 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.115/1.115, allocations: 221.4 MB / 229.9 MB, free: 3.078 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.0009218, allocations: 106.4 kB / 280.8 MB, free: 1.312 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09488/0.09584, allocations: 55.82 MB / 336.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.281, allocations: 50.39 MB / 387 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08137/0.3624, allocations: 76.29 MB / 463.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.3626, allocations: 79.95 kB / 463.4 MB, free: 10.43 MB / 346.7 MB 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.005734/0.3684, allocations: 2.139 MB / 465.5 MB, free: 8.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3684, allocations: 8.688 kB / 465.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.3685, allocations: 7.906 kB / 465.5 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3687, allocations: 210.3 kB / 465.7 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.3687, allocations: 0.75 kB / 465.7 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.3687, allocations: 8 kB / 465.7 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.075e-05/0.3688, allocations: 12 kB / 465.8 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.369, allocations: 101.9 kB / 465.9 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.369, allocations: 0 / 465.9 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.369, allocations: 0 / 465.9 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.369, allocations: 0.5625 kB / 465.9 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.3694, allocations: 267.1 kB / 466.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.3695, allocations: 66.05 kB / 466.2 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.3695, allocations: 22.64 kB / 466.2 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3696, allocations: 4 kB / 466.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3696, allocations: 38.5 kB / 466.2 MB, free: 7.398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3696, allocations: 0 / 466.2 MB, free: 7.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001619/0.3698, allocations: 57.59 kB / 466.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.3698, allocations: 112 kB / 466.4 MB, free: 7.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3699, allocations: 125 kB / 466.5 MB, free: 7.074 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.37, allocations: 25.7 kB / 466.6 MB, free: 7.043 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.37, allocations: 88.05 kB / 466.6 MB, free: 6.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.37, allocations: 0 / 466.6 MB, free: 6.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-06/0.37, allocations: 4.094 kB / 466.6 MB, free: 6.949 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.3701, allocations: 318.8 kB / 467 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.3702, allocations: 4 kB / 467 MB, free: 6.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.3702, allocations: 31.42 kB / 467 MB, free: 6.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.277e-05/0.3702, allocations: 8 kB / 467 MB, free: 6.574 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3702, allocations: 7.938 kB / 467 MB, free: 6.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.457e-05/0.3703, allocations: 53.53 kB / 467.1 MB, free: 6.508 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3703, allocations: 8 kB / 467.1 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3704, allocations: 0.75 kB / 467.1 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.3704, allocations: 0 / 467.1 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.3705, allocations: 19.92 kB / 467.1 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3705, allocations: 4 kB / 467.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.3705, allocations: 12.03 kB / 467.1 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3705, allocations: 0.6562 kB / 467.1 MB, free: 6.465 MB / 346.7 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 6.249e-05/0.3706, allocations: 105 kB / 467.2 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.3707, allocations: 51.91 kB / 467.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.3707, allocations: 7.75 kB / 467.3 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3707, allocations: 4 kB / 467.3 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3707, allocations: 3.984 kB / 467.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3708, allocations: 0 / 467.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.3709, allocations: 162.9 kB / 467.4 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3709, allocations: 0 / 467.4 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.371, allocations: 8 kB / 467.4 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.371, allocations: 0 / 467.4 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.371, allocations: 4 kB / 467.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.371, allocations: 3.984 kB / 467.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.371, allocations: 0 / 467.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001359/0.3712, allocations: 196.5 kB / 467.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002116/0.3714, allocations: 0.5565 MB / 468.2 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.3714, allocations: 89 kB / 468.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.3715, allocations: 7.984 kB / 468.3 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.3715, allocations: 0 / 468.3 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.3716, allocations: 4 kB / 468.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3716, allocations: 0.5 kB / 468.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.172e-05/0.3717, allocations: 114.4 kB / 468.4 MB, free: 5.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007729/0.3724, allocations: 11.91 kB / 468.4 MB, free: 5.016 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 9.728e-05/0.3725, allocations: 99.19 kB / 468.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.078e-05/0.3726, allocations: 19.98 kB / 468.5 MB, free: 4.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3726, allocations: 3.938 kB / 468.5 MB, free: 4.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.3727, allocations: 4 kB / 468.5 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3729, allocations: 23.95 kB / 468.6 MB, free: 4.855 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.3732, allocations: 109.8 kB / 468.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.3734, allocations: 0.7144 MB / 469.4 MB, free: 3.977 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3734, allocations: 0 / 469.4 MB, free: 3.977 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1)