Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",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.001347/0.001347, allocations: 181.7 kB / 8.129 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.189/1.189, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0009987/0.0009987, allocations: 95.38 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09783/0.09887, allocations: 55.82 MB / 336.6 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.3285, allocations: 50.39 MB / 387 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09143/0.42, allocations: 75.27 MB / 462.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.4203, allocations: 75.89 kB / 462.3 MB, free: 11.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002458/0.4228, allocations: 0.7904 MB / 463.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.4228, allocations: 8 kB / 463.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.4229, allocations: 8.656 kB / 463.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.4231, allocations: 178.9 kB / 463.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.4231, allocations: 0.8438 kB / 463.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.4231, allocations: 4 kB / 463.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.459e-05/0.4232, allocations: 16 kB / 463.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.4234, allocations: 85.67 kB / 463.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.4234, allocations: 0 / 463.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.4235, allocations: 4 kB / 463.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4235, allocations: 0 / 463.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.4236, allocations: 139.2 kB / 463.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.206e-05/0.4237, allocations: 49.5 kB / 463.6 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.4238, allocations: 16.89 kB / 463.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.4238, allocations: 0 / 463.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.4238, allocations: 30.56 kB / 463.7 MB, free: 10 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.4238, allocations: 0 / 463.7 MB, free: 10 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001456/0.424, allocations: 49.81 kB / 463.7 MB, free: 9.949 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.424, allocations: 59.31 kB / 463.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.4241, allocations: 102.3 kB / 463.9 MB, free: 9.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4241, allocations: 29.64 kB / 463.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.4242, allocations: 80.14 kB / 464 MB, free: 9.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.4242, allocations: 13.91 kB / 464 MB, free: 9.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.4242, allocations: 0 / 464 MB, free: 9.645 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4243, allocations: 310.8 kB / 464.3 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.4243, allocations: 4 kB / 464.3 MB, free: 9.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.4244, allocations: 35.42 kB / 464.3 MB, free: 9.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.4244, allocations: 8 kB / 464.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4244, allocations: 0 / 464.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.031e-05/0.4245, allocations: 53.53 kB / 464.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.4245, allocations: 4 kB / 464.4 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4245, allocations: 4 kB / 464.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.4246, allocations: 4.125 kB / 464.4 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.4246, allocations: 8 kB / 464.4 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.4246, allocations: 3.938 kB / 464.4 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.4247, allocations: 4.688 kB / 464.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.4247, allocations: 4 kB / 464.4 MB, free: 9.184 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.005e-05/0.4247, allocations: 108.9 kB / 464.5 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.4248, allocations: 45.69 kB / 464.6 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.4248, allocations: 4.562 kB / 464.6 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4249, allocations: 3.906 kB / 464.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4249, allocations: 4 kB / 464.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4249, allocations: 5.172 kB / 464.6 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.845e-05/0.4249, allocations: 134.2 kB / 464.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.425, allocations: 0 / 464.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.425, allocations: 12.92 kB / 464.7 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.425, allocations: 0 / 464.7 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.4251, allocations: 3.938 kB / 464.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4251, allocations: 7.938 kB / 464.7 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4251, allocations: 3.906 kB / 464.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001001/0.4252, allocations: 74.31 kB / 464.8 MB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001717/0.4254, allocations: 449.4 kB / 465.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.4254, allocations: 81.02 kB / 465.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.4254, allocations: 8 kB / 465.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.474e-05/0.4255, allocations: 7.984 kB / 465.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-06/0.4255, allocations: 7.938 kB / 465.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4255, allocations: 0 / 465.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.014e-05/0.4256, allocations: 79.84 kB / 465.4 MB, free: 8.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000767/0.4263, allocations: 7.938 kB / 465.5 MB, free: 8.047 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0001123/0.4264, allocations: 95.25 kB / 465.5 MB, free: 7.945 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.4266, allocations: 19.98 kB / 465.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4266, allocations: 4.25 kB / 465.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.4266, allocations: 4 kB / 465.6 MB, free: 7.918 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.4268, allocations: 22.77 kB / 465.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.4271, allocations: 67.81 kB / 465.7 MB, free: 7.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.4274, allocations: 0.6993 MB / 466.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4274, allocations: 0 / 466.4 MB, free: 7.086 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1)