Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001262/0.001262, allocations: 182 kB / 8.136 MB, free: 2.215 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.117/1.117, allocations: 221.4 MB / 229.9 MB, free: 3.258 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.00092/0.00092, allocations: 100.4 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09843/0.09939, allocations: 55.81 MB / 336.6 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.2885, allocations: 50.4 MB / 387 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07935/0.3679, allocations: 75.61 MB / 462.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.3681, allocations: 75.89 kB / 462.7 MB, free: 11.11 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.003345/0.3714, allocations: 1.376 MB / 464.1 MB, free: 9.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.3715, allocations: 8 kB / 464.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.3715, allocations: 7.906 kB / 464.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.3717, allocations: 194.8 kB / 464.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-06/0.3717, allocations: 0 / 464.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3717, allocations: 5.5 kB / 464.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.192e-05/0.3718, allocations: 20 kB / 464.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.372, allocations: 117.8 kB / 464.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.372, allocations: 4.594 kB / 464.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.372, allocations: 0 / 464.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.372, allocations: 0 / 464.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.3724, allocations: 354.4 kB / 464.8 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.539e-05/0.3725, allocations: 63.86 kB / 464.8 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.3726, allocations: 30.56 kB / 464.9 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3726, allocations: 4 kB / 464.9 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.3726, allocations: 35.62 kB / 464.9 MB, free: 8.734 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.325e-06/0.3726, allocations: 3.984 kB / 464.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001771/0.3728, allocations: 65.5 kB / 465 MB, free: 8.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.3729, allocations: 106.8 kB / 465.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.373, allocations: 129 kB / 465.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.373, allocations: 25.7 kB / 465.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.373, allocations: 88.14 kB / 465.3 MB, free: 8.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.325e-06/0.3731, allocations: 3.906 kB / 465.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.3731, allocations: 0 / 465.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.3732, allocations: 322.9 kB / 465.6 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.3732, allocations: 4 kB / 465.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/0.3732, allocations: 35.42 kB / 465.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/0.3733, allocations: 13.22 kB / 465.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3733, allocations: 0 / 465.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.389e-05/0.3734, allocations: 61.53 kB / 465.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3734, allocations: 11.94 kB / 465.7 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3734, allocations: 3.906 kB / 465.7 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3734, allocations: 0 / 465.7 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.3735, allocations: 19.92 kB / 465.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3735, allocations: 0 / 465.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.3736, allocations: 12.12 kB / 465.8 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.3736, allocations: 0 / 465.8 MB, free: 7.777 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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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.86e-05/0.3737, allocations: 108.9 kB / 465.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.627e-05/0.3738, allocations: 49.59 kB / 465.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.3738, allocations: 15.73 kB / 465.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3738, allocations: 0.8438 kB / 465.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3738, allocations: 5.562 kB / 466 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3738, allocations: 4.031 kB / 466 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.374, allocations: 154.1 kB / 466.1 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.374, allocations: 3.938 kB / 466.1 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.3741, allocations: 15.98 kB / 466.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3741, allocations: 0 / 466.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.3741, allocations: 0 / 466.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3741, allocations: 4 kB / 466.1 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3741, allocations: 3.938 kB / 466.1 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001668/0.3743, allocations: 266.9 kB / 466.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002516/0.3746, allocations: 0.6294 MB / 467 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.3747, allocations: 93.97 kB / 467.1 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.3747, allocations: 4 kB / 467.1 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3748, allocations: 11.92 kB / 467.1 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.3748, allocations: 8 kB / 467.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3748, allocations: 0 / 467.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.397e-05/0.3749, allocations: 110.2 kB / 467.2 MB, free: 6.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008141/0.3757, allocations: 8 kB / 467.3 MB, free: 6.164 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.012e-05/0.3758, allocations: 103.2 kB / 467.4 MB, free: 6.055 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.3759, allocations: 19.94 kB / 467.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3759, allocations: 4.25 kB / 467.4 MB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.3759, allocations: 12 kB / 467.4 MB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.3762, allocations: 27.86 kB / 467.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.3765, allocations: 117.3 kB / 467.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.3768, allocations: 0.7114 MB / 468.2 MB, free: 5.105 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3768, allocations: 0 / 468.2 MB, free: 5.105 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1)