Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_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.0009653/0.0009653, allocations: 182.3 kB / 8.131 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.126/1.126, allocations: 221.4 MB / 229.9 MB, free: 3.031 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.0009265/0.0009265, allocations: 102.6 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0983/0.09926, allocations: 55.82 MB / 336.6 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.2865, allocations: 50.39 MB / 387 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07795/0.3645, allocations: 76.27 MB / 463.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.3647, allocations: 76.44 kB / 463.3 MB, free: 10.46 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.005849/0.3706, allocations: 2.119 MB / 465.5 MB, free: 8.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3706, allocations: 12.56 kB / 465.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.3707, allocations: 10.84 kB / 465.5 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.3709, allocations: 197.8 kB / 465.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3709, allocations: 7.906 kB / 465.7 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3709, allocations: 0.8438 kB / 465.7 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.269e-05/0.371, allocations: 16 kB / 465.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3712, allocations: 98.48 kB / 465.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.3712, allocations: 0 / 465.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3712, allocations: 0 / 465.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3712, allocations: 0 / 465.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.3715, allocations: 258.2 kB / 466.1 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.496e-05/0.3716, allocations: 33.16 kB / 466.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.3716, allocations: 21.83 kB / 466.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3716, allocations: 0 / 466.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3717, allocations: 42.48 kB / 466.1 MB, free: 7.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3717, allocations: 2.531 kB / 466.2 MB, free: 7.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001497/0.3718, allocations: 45.61 kB / 466.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3719, allocations: 77.11 kB / 466.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.372, allocations: 125.3 kB / 466.4 MB, free: 7.242 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.372, allocations: 29.7 kB / 466.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.3721, allocations: 84.2 kB / 466.5 MB, free: 7.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.3721, allocations: 3.906 kB / 466.5 MB, free: 7.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.3721, allocations: 3.938 kB / 466.5 MB, free: 7.113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3722, allocations: 320.2 kB / 466.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.3722, allocations: 3.984 kB / 466.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.3723, allocations: 13.72 kB / 466.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.044e-05/0.3723, allocations: 12.06 kB / 466.9 MB, free: 6.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3723, allocations: 3.938 kB / 466.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.779e-05/0.3724, allocations: 37.61 kB / 466.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3724, allocations: 7.984 kB / 466.9 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3724, allocations: 4 kB / 466.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3724, allocations: 0 / 466.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.3725, allocations: 9.25 kB / 466.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.3725, allocations: 0 / 466.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.3725, allocations: 8.062 kB / 466.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3726, allocations: 8 kB / 466.9 MB, free: 6.676 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.14e-05/0.3726, allocations: 105 kB / 467 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.3727, allocations: 33.61 kB / 467.1 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.3727, allocations: 11.5 kB / 467.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3727, allocations: 0 / 467.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3727, allocations: 4 kB / 467.1 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3727, allocations: 0 / 467.1 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3729, allocations: 147.2 kB / 467.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3729, allocations: 4.031 kB / 467.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.373, allocations: 12.48 kB / 467.2 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.373, allocations: 0 / 467.2 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.373, allocations: 0 / 467.2 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.373, allocations: 4.625 kB / 467.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.373, allocations: 3.906 kB / 467.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001118/0.3731, allocations: 166 kB / 467.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002036/0.3733, allocations: 0.5219 MB / 467.9 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.3734, allocations: 89.06 kB / 468 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3734, allocations: 11.91 kB / 468 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.3735, allocations: 3.312 kB / 468 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.3735, allocations: 7.938 kB / 468 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3735, allocations: 0 / 468 MB, free: 5.449 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.106e-05/0.3736, allocations: 110.4 kB / 468.2 MB, free: 5.344 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007595/0.3744, allocations: 4 kB / 468.2 MB, free: 5.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.337e-05/0.3744, allocations: 99.23 kB / 468.3 MB, free: 5.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.934e-05/0.3745, allocations: 12 kB / 468.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.3745, allocations: 0 / 468.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.3745, allocations: 8 kB / 468.3 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.3748, allocations: 21.84 kB / 468.3 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.375, allocations: 84.69 kB / 468.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.3753, allocations: 0.7077 MB / 469.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3753, allocations: 4 kB / 469.1 MB, free: 4.34 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1)