Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",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.001137/0.001137, allocations: 186.2 kB / 8.132 MB, free: 2.199 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.119/1.119, allocations: 221.4 MB / 229.9 MB, free: 3.047 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.0009222/0.0009222, allocations: 90.69 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09335/0.0943, allocations: 55.82 MB / 336.6 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.2835, allocations: 50.4 MB / 387 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07517/0.3587, allocations: 76.16 MB / 463.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.3589, allocations: 83.02 kB / 463.2 MB, free: 10.53 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.004842/0.3638, allocations: 1.788 MB / 465 MB, free: 8.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3638, allocations: 8 kB / 465 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3639, allocations: 15.81 kB / 465.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.3641, allocations: 203.6 kB / 465.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.3641, allocations: 3.188 kB / 465.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.3641, allocations: 4 kB / 465.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.998e-05/0.3642, allocations: 24 kB / 465.3 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3644, allocations: 118.8 kB / 465.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.3644, allocations: 4 kB / 465.4 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3644, allocations: 4 kB / 465.4 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3644, allocations: 0 / 465.4 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.3648, allocations: 354.4 kB / 465.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.388e-05/0.3649, allocations: 67.78 kB / 465.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.365, allocations: 26.64 kB / 465.9 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.365, allocations: 4 kB / 465.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.365, allocations: 36.52 kB / 465.9 MB, free: 7.719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.955e-06/0.365, allocations: 4 kB / 465.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001862/0.3652, allocations: 65.53 kB / 466 MB, free: 7.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3653, allocations: 110.8 kB / 466.1 MB, free: 7.512 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.3654, allocations: 135.1 kB / 466.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3654, allocations: 25.7 kB / 466.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.3654, allocations: 92.05 kB / 466.3 MB, free: 7.246 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.3655, allocations: 7.891 kB / 466.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.3655, allocations: 0 / 466.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.3656, allocations: 318.8 kB / 466.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.3656, allocations: 8 kB / 466.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.3656, allocations: 35.41 kB / 466.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.3657, allocations: 16 kB / 466.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3657, allocations: 4 kB / 466.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001049/0.3658, allocations: 65.52 kB / 466.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3658, allocations: 4 kB / 466.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3658, allocations: 0 / 466.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.3658, allocations: 4.125 kB / 466.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3659, allocations: 19.92 kB / 466.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.366, allocations: 4 kB / 466.8 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.366, allocations: 4 kB / 466.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.366, allocations: 8.5 kB / 466.8 MB, free: 6.73 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 5.482e-05/0.3661, allocations: 107.8 kB / 466.9 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.08e-05/0.3662, allocations: 57.59 kB / 467 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.3662, allocations: 15.73 kB / 467 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3662, allocations: 0 / 467 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3663, allocations: 0 / 467 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3663, allocations: 0.9375 kB / 467 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.3664, allocations: 166 kB / 467.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3665, allocations: 0 / 467.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.391e-05/0.3665, allocations: 17.3 kB / 467.2 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3666, allocations: 8.031 kB / 467.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3666, allocations: 0 / 467.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3666, allocations: 0 / 467.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3666, allocations: 4 kB / 467.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001624/0.3667, allocations: 276.1 kB / 467.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002396/0.367, allocations: 0.6321 MB / 468.1 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.3671, allocations: 104.9 kB / 468.2 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3671, allocations: 0 / 468.2 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3672, allocations: 8 kB / 468.2 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.3673, allocations: 7.891 kB / 468.2 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3673, allocations: 6.375 kB / 468.2 MB, free: 5.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.22e-05/0.3673, allocations: 109.9 kB / 468.3 MB, free: 5.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008186/0.3682, allocations: 8 kB / 468.3 MB, free: 5.09 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 8.519e-05/0.3683, allocations: 103.2 kB / 468.4 MB, free: 4.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.952e-05/0.3684, allocations: 27.92 kB / 468.4 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3684, allocations: 0 / 468.4 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.3684, allocations: 15.98 kB / 468.5 MB, free: 4.938 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.3687, allocations: 23.88 kB / 468.5 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.369, allocations: 130.1 kB / 468.6 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.3692, allocations: 0.7153 MB / 469.3 MB, free: 4.008 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3692, allocations: 0 / 469.3 MB, free: 4.008 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1)