Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",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.0009918/0.0009918, allocations: 183.8 kB / 8.137 MB, free: 2.188 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.106/1.106, allocations: 221.4 MB / 229.9 MB, free: 3.254 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.0009633/0.0009633, allocations: 99.44 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09788/0.09887, allocations: 55.82 MB / 336.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.2923, allocations: 50.39 MB / 387 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07992/0.3723, allocations: 75.82 MB / 462.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.3725, allocations: 79.89 kB / 462.9 MB, free: 10.88 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00343/0.376, allocations: 1.327 MB / 464.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.376, allocations: 12 kB / 464.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.376, allocations: 9.469 kB / 464.2 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.3762, allocations: 198.7 kB / 464.4 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.3763, allocations: 0 / 464.4 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3763, allocations: 4 kB / 464.4 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.157e-05/0.3764, allocations: 25.95 kB / 464.5 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.3766, allocations: 132.6 kB / 464.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.3766, allocations: 1.031 kB / 464.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3766, allocations: 0 / 464.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3766, allocations: 0.5 kB / 464.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.3768, allocations: 150.9 kB / 464.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3769, allocations: 77.8 kB / 464.8 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.377, allocations: 40.84 kB / 464.9 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.377, allocations: 4.656 kB / 464.9 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.377, allocations: 34.5 kB / 464.9 MB, free: 8.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.377, allocations: 0 / 464.9 MB, free: 8.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001625/0.3772, allocations: 73.58 kB / 465 MB, free: 8.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3773, allocations: 63.31 kB / 465 MB, free: 8.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3774, allocations: 124.1 kB / 465.2 MB, free: 8.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.3774, allocations: 25.7 kB / 465.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.3774, allocations: 89.25 kB / 465.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.3775, allocations: 4 kB / 465.3 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.3775, allocations: 0 / 465.3 MB, free: 8.348 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3776, allocations: 314.8 kB / 465.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.3776, allocations: 7.984 kB / 465.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.3777, allocations: 66.81 kB / 465.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.31e-05/0.3777, allocations: 19.89 kB / 465.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3777, allocations: 5.219 kB / 465.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001203/0.3778, allocations: 69.56 kB / 465.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3779, allocations: 11.91 kB / 465.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3779, allocations: 0 / 465.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3779, allocations: 4.75 kB / 465.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.378, allocations: 19.92 kB / 465.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.378, allocations: 4.25 kB / 465.8 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.378, allocations: 7.938 kB / 465.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.378, allocations: 4 kB / 465.8 MB, free: 7.785 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.437e-05/0.3781, allocations: 117.6 kB / 465.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3782, allocations: 73.53 kB / 466 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.3783, allocations: 16.48 kB / 466 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3783, allocations: 0.5625 kB / 466 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3783, allocations: 0.8438 kB / 466 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3783, allocations: 4 kB / 466 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.18e-05/0.3784, allocations: 154.1 kB / 466.2 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3784, allocations: 1.5 kB / 466.2 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.3785, allocations: 11.98 kB / 466.2 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3785, allocations: 4 kB / 466.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3785, allocations: 0 / 466.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3785, allocations: 0 / 466.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3785, allocations: 0 / 466.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001333/0.3786, allocations: 109.2 kB / 466.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000211/0.3789, allocations: 483.6 kB / 466.8 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.3789, allocations: 104.9 kB / 466.9 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.379, allocations: 3.984 kB / 466.9 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.375e-05/0.379, allocations: 0.875 kB / 466.9 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-06/0.379, allocations: 3.906 kB / 466.9 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.379, allocations: 0 / 466.9 MB, free: 6.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.763e-05/0.3791, allocations: 103.3 kB / 467 MB, free: 6.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007595/0.3798, allocations: 12 kB / 467 MB, free: 6.5 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000103/0.38, allocations: 99.25 kB / 467.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.3801, allocations: 43.92 kB / 467.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3801, allocations: 0 / 467.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.3801, allocations: 4 kB / 467.1 MB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.3803, allocations: 40.45 kB / 467.2 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.3806, allocations: 119.2 kB / 467.3 MB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.3809, allocations: 0.7153 MB / 468 MB, free: 5.426 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3809, allocations: 0 / 468 MB, free: 5.426 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1)