Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.00132/0.00132, allocations: 183.9 kB / 8.136 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.172/1.172, 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.0008717/0.0008717, allocations: 102.7 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09554/0.09644, allocations: 55.83 MB / 336.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.2892, allocations: 50.38 MB / 387 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07767/0.3669, allocations: 75.59 MB / 462.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.3672, allocations: 75.95 kB / 462.7 MB, free: 11.18 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.00314/0.3703, allocations: 1.242 MB / 463.9 MB, free: 9.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3704, allocations: 8 kB / 463.9 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.3704, allocations: 8.844 kB / 463.9 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.3706, allocations: 200.6 kB / 464.1 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3706, allocations: 0 / 464.1 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3706, allocations: 4.688 kB / 464.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.953e-05/0.3707, allocations: 16 kB / 464.1 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.3709, allocations: 118.6 kB / 464.3 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.371, allocations: 0 / 464.3 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.371, allocations: 0 / 464.3 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.371, allocations: 0 / 464.3 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.3714, allocations: 339.8 kB / 464.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.908e-05/0.3715, allocations: 59.86 kB / 464.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.3715, allocations: 34.56 kB / 464.7 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3716, allocations: 4 kB / 464.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3716, allocations: 34.5 kB / 464.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3716, allocations: 1.125 kB / 464.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002166/0.3718, allocations: 61.59 kB / 464.8 MB, free: 8.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.3719, allocations: 110.8 kB / 464.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3721, allocations: 132 kB / 465 MB, free: 8.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3721, allocations: 29.7 kB / 465 MB, free: 8.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.3721, allocations: 80.14 kB / 465.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.3721, allocations: 0 / 465.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.3722, allocations: 0 / 465.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3723, allocations: 326.7 kB / 465.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.3723, allocations: 4 kB / 465.4 MB, free: 8.176 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.3724, allocations: 35.42 kB / 465.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.792e-05/0.3724, allocations: 15.98 kB / 465.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3724, allocations: 0.9375 kB / 465.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.242e-05/0.3725, allocations: 57.62 kB / 465.6 MB, free: 8.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3725, allocations: 4.125 kB / 465.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3725, allocations: 4 kB / 465.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3726, allocations: 3.906 kB / 465.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.279e-05/0.3726, allocations: 9.125 kB / 465.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3726, allocations: 3.938 kB / 465.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.3726, allocations: 4 kB / 465.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3727, allocations: 7.984 kB / 465.6 MB, free: 8.016 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 8.17e-05/0.3728, allocations: 103.9 kB / 465.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3729, allocations: 50.55 kB / 465.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.3729, allocations: 15.73 kB / 465.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3729, allocations: 4 kB / 465.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3729, allocations: 0 / 465.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.373, allocations: 0 / 465.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.3732, allocations: 150.1 kB / 465.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3732, allocations: 0.625 kB / 465.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.3732, allocations: 3.938 kB / 465.9 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.3732, allocations: 4 kB / 465.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.3732, allocations: 0 / 465.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3732, allocations: 5.766 kB / 465.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3732, allocations: 4 kB / 465.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001918/0.3734, allocations: 262.9 kB / 466.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002694/0.3737, allocations: 0.6333 MB / 466.8 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.3738, allocations: 93 kB / 466.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3738, allocations: 3.906 kB / 466.9 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3739, allocations: 8.625 kB / 466.9 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.374, allocations: 7.984 kB / 466.9 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.374, allocations: 0 / 466.9 MB, free: 6.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.588e-05/0.374, allocations: 103.3 kB / 467 MB, free: 6.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008045/0.3749, allocations: 7.938 kB / 467 MB, free: 6.441 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 0.000114/0.375, allocations: 100.7 kB / 467.1 MB, free: 6.336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.3751, allocations: 32.11 kB / 467.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3751, allocations: 4.062 kB / 467.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.919e-05/0.3751, allocations: 4 kB / 467.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.3754, allocations: 25.05 kB / 467.2 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.3757, allocations: 117.3 kB / 467.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.376, allocations: 0.7152 MB / 468 MB, free: 5.387 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.376, allocations: 4.219 kB / 468 MB, free: 5.383 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1)