Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.0009748/0.0009748, allocations: 185.2 kB / 8.131 MB, free: 2.074 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.184/1.184, 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.000968/0.000968, allocations: 101.6 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1112/0.1122, allocations: 55.83 MB / 336.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.32, allocations: 50.39 MB / 387 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08976/0.4098, allocations: 80.27 MB / 467.3 MB, free: 6.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4101, allocations: 89.84 kB / 467.4 MB, free: 6.418 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.01799/0.4281, allocations: 6.594 MB / 474 MB, free: 15.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4281, allocations: 8 kB / 474 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.4282, allocations: 15.81 kB / 474 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.4286, allocations: 261.6 kB / 474.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.4287, allocations: 4 kB / 474.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.4287, allocations: 4 kB / 474.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/0.4288, allocations: 39.92 kB / 474.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.4291, allocations: 139.3 kB / 474.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4291, allocations: 0 / 474.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.4291, allocations: 3.906 kB / 474.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4291, allocations: 4 kB / 474.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.4296, allocations: 347 kB / 474.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4298, allocations: 99.89 kB / 474.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.4299, allocations: 48.67 kB / 474.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4299, allocations: 4 kB / 474.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.43, allocations: 71.33 kB / 475 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.43, allocations: 0 / 475 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002247/0.4303, allocations: 93.44 kB / 475.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.4304, allocations: 144.5 kB / 475.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.4306, allocations: 224.1 kB / 475.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4306, allocations: 29.7 kB / 475.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.4307, allocations: 96.12 kB / 475.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.4307, allocations: 15.81 kB / 475.6 MB, free: 14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.4307, allocations: 3.938 kB / 475.6 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4309, allocations: 326.8 kB / 475.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.4309, allocations: 24 kB / 475.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.431, allocations: 66 kB / 476 MB, free: 13.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.4311, allocations: 23.94 kB / 476 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4311, allocations: 4.031 kB / 476 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001691/0.4312, allocations: 105.3 kB / 476.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.4313, allocations: 4 kB / 476.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4313, allocations: 4 kB / 476.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.4313, allocations: 0 / 476.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.4314, allocations: 19.92 kB / 476.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4314, allocations: 0.5625 kB / 476.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.4315, allocations: 8.125 kB / 476.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.4315, allocations: 4 kB / 476.2 MB, free: 13.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.737e-05/0.4316, allocations: 108.9 kB / 476.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.4317, allocations: 65.44 kB / 476.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.4318, allocations: 89.42 kB / 476.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4319, allocations: 4.938 kB / 476.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4319, allocations: 0 / 476.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.4319, allocations: 7.891 kB / 476.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.4321, allocations: 210.2 kB / 476.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4321, allocations: 0 / 476.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.4321, allocations: 19.92 kB / 476.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4321, allocations: 0 / 476.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.4321, allocations: 8.125 kB / 476.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4321, allocations: 0 / 476.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4322, allocations: 0 / 476.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000191/0.4324, allocations: 170.5 kB / 476.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000307/0.4327, allocations: 0.5414 MB / 477.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/0.4328, allocations: 112.9 kB / 477.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.4328, allocations: 7.984 kB / 477.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.4329, allocations: 7.938 kB / 477.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.4329, allocations: 3.906 kB / 477.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.433, allocations: 11.98 kB / 477.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000173/0.4331, allocations: 184.5 kB / 477.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00138/0.4345, allocations: 32 kB / 477.7 MB, free: 11.66 MB / 362.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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000627/0.4352, allocations: 329.6 kB / 478 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.4353, allocations: 63.92 kB / 478.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4354, allocations: 0 / 478.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.615e-05/0.4354, allocations: 31.92 kB / 478.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.4357, allocations: 48.88 kB / 478.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.4362, allocations: 229.2 kB / 478.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.4366, allocations: 0.7548 MB / 479.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4366, allocations: 0 / 479.2 MB, free: 10.25 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1)