Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001655/0.001655, allocations: 199.8 kB / 8.535 MB, free: 460 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 225.5 MB / 234.4 MB, free: 9.461 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 92.7 kB / 286.3 MB, free: 5.828 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1149/0.116, allocations: 56.9 MB / 343.2 MB, free: 12.92 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.3493, allocations: 51.45 MB / 394.7 MB, free: 47.71 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08667/0.436, allocations: 76.99 MB / 471.7 MB, free: 14.95 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.4363, allocations: 78.67 kB / 471.8 MB, free: 14.88 MB / 354.8 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.005875/0.4422, allocations: 1.874 MB / 473.6 MB, free: 13.01 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4422, allocations: 8 kB / 473.6 MB, free: 13 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.4425, allocations: 42.84 kB / 473.7 MB, free: 12.96 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.4427, allocations: 189.4 kB / 473.9 MB, free: 12.74 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.4427, allocations: 0 / 473.9 MB, free: 12.74 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.4428, allocations: 8.703 kB / 473.9 MB, free: 12.73 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001054/0.4429, allocations: 31.84 kB / 473.9 MB, free: 12.7 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.4431, allocations: 117.8 kB / 474 MB, free: 12.57 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.4431, allocations: 0 / 474 MB, free: 12.57 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4431, allocations: 1.938 kB / 474 MB, free: 12.57 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4431, allocations: 0.8438 kB / 474 MB, free: 12.57 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.4436, allocations: 359.3 kB / 474.4 MB, free: 12.18 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.4437, allocations: 66.44 kB / 474.4 MB, free: 12.09 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.4438, allocations: 27.3 kB / 474.5 MB, free: 12.05 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.4438, allocations: 0 / 474.5 MB, free: 12.05 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.4439, allocations: 46.47 kB / 474.5 MB, free: 12 MB / 354.8 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4439, allocations: 0 / 474.5 MB, free: 12 MB / 354.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002296/0.4441, allocations: 69.52 kB / 474.6 MB, free: 11.93 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.4442, allocations: 106.8 kB / 474.7 MB, free: 11.8 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4443, allocations: 134 kB / 474.8 MB, free: 11.66 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4443, allocations: 25.7 kB / 474.8 MB, free: 11.63 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.4444, allocations: 91.98 kB / 474.9 MB, free: 11.54 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.4444, allocations: 10.56 kB / 474.9 MB, free: 11.53 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.4444, allocations: 0 / 474.9 MB, free: 11.53 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4445, allocations: 324 kB / 475.2 MB, free: 11.21 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.4446, allocations: 4 kB / 475.3 MB, free: 11.2 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.4446, allocations: 38.69 kB / 475.3 MB, free: 11.16 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.223e-05/0.4446, allocations: 13.53 kB / 475.3 MB, free: 11.14 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4446, allocations: 2.75 kB / 475.3 MB, free: 11.14 MB / 354.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.4448, allocations: 69.52 kB / 475.4 MB, free: 11.07 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4448, allocations: 4 kB / 475.4 MB, free: 11.07 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4448, allocations: 10.44 kB / 475.4 MB, free: 11.06 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.4448, allocations: 0 / 475.4 MB, free: 11.06 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4449, allocations: 17.36 kB / 475.4 MB, free: 11.04 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4449, allocations: 0 / 475.4 MB, free: 11.04 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.445, allocations: 9 kB / 475.4 MB, free: 11.04 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.445, allocations: 4 kB / 475.4 MB, free: 11.03 MB / 354.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 6.221e-05/0.4451, allocations: 106.2 kB / 475.5 MB, free: 10.92 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4452, allocations: 53.59 kB / 475.6 MB, free: 10.86 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.4453, allocations: 11.73 kB / 475.6 MB, free: 10.85 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4453, allocations: 0 / 475.6 MB, free: 10.85 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4453, allocations: 0 / 475.6 MB, free: 10.85 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4453, allocations: 7.938 kB / 475.6 MB, free: 10.84 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.4455, allocations: 164.6 kB / 475.8 MB, free: 10.65 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4455, allocations: 32 / 475.8 MB, free: 10.65 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/0.4456, allocations: 16 kB / 475.8 MB, free: 10.63 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4456, allocations: 0 / 475.8 MB, free: 10.63 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.4456, allocations: 3.984 kB / 475.8 MB, free: 10.63 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.4456, allocations: 4 kB / 475.8 MB, free: 10.62 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4456, allocations: 0 / 475.8 MB, free: 10.62 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002043/0.4459, allocations: 272.1 kB / 476 MB, free: 10.33 MB / 354.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002733/0.4461, allocations: 0.646 MB / 476.7 MB, free: 9.648 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.4462, allocations: 89 kB / 476.8 MB, free: 9.543 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.4462, allocations: 0 / 476.8 MB, free: 9.543 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4464, allocations: 8 kB / 476.8 MB, free: 9.535 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.4464, allocations: 15.83 kB / 476.8 MB, free: 9.52 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.4464, allocations: 4 kB / 476.8 MB, free: 9.516 MB / 354.8 MB Notification: Performance of sort global known variables: time 7.435e-05/0.4465, allocations: 115.2 kB / 476.9 MB, free: 9.402 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.0008518/0.4474, allocations: 12 kB / 476.9 MB, free: 9.391 MB / 354.8 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 0.000107/0.4475, allocations: 99.19 kB / 477 MB, free: 9.285 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 9.584e-05/0.4476, allocations: 31.92 kB / 477.1 MB, free: 9.254 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4476, allocations: 4 kB / 477.1 MB, free: 9.25 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.4476, allocations: 11.98 kB / 477.1 MB, free: 9.238 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.4479, allocations: 24.33 kB / 477.1 MB, free: 9.215 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.4483, allocations: 124.5 kB / 477.2 MB, free: 9.059 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.4486, allocations: 0.7177 MB / 477.9 MB, free: 8.316 MB / 354.8 MB Notification: Performance of SimCode: time 3.4e-07/0.4486, allocations: 0 / 477.9 MB, free: 8.316 MB / 354.8 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1)