Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.002276/0.002276, allocations: 195.2 kB / 8.538 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009327/0.000933, allocations: 93.45 kB / 286.3 MB, free: 5.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1268/0.1278, allocations: 56.9 MB / 343.2 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.2393, allocations: 51.47 MB / 394.7 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2964/0.5358, allocations: 76.62 MB / 471.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.5361, allocations: 77.95 kB / 471.4 MB, free: 14.79 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.003291/0.5394, allocations: 1.331 MB / 472.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5394, allocations: 12 kB / 472.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.5395, allocations: 11.81 kB / 472.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.5396, allocations: 191.3 kB / 472.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.5397, allocations: 0 / 472.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.5397, allocations: 4 kB / 473 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.968e-05/0.5398, allocations: 30.03 kB / 473 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.54, allocations: 131.2 kB / 473.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.54, allocations: 0 / 473.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.54, allocations: 0 / 473.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.54, allocations: 3.906 kB / 473.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.5401, allocations: 146.8 kB / 473.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.5403, allocations: 70.58 kB / 473.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.5403, allocations: 38.98 kB / 473.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.5403, allocations: 4 kB / 473.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.5404, allocations: 38.34 kB / 473.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.5404, allocations: 0 / 473.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001554/0.5405, allocations: 79.17 kB / 473.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.5406, allocations: 59.41 kB / 473.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.5407, allocations: 122.4 kB / 473.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.5407, allocations: 25.7 kB / 473.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.543e-05/0.5407, allocations: 80.14 kB / 473.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.5407, allocations: 10.7 kB / 473.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.5407, allocations: 0 / 473.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.5408, allocations: 321.2 kB / 474.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.5408, allocations: 7.812 kB / 474.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.5408, allocations: 62.62 kB / 474.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.5409, allocations: 18.83 kB / 474.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5409, allocations: 0 / 474.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.631e-05/0.541, allocations: 85.67 kB / 474.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.541, allocations: 8 kB / 474.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.541, allocations: 0 / 474.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.541, allocations: 4 kB / 474.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.5411, allocations: 16.19 kB / 474.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5411, allocations: 11.2 kB / 474.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.5411, allocations: 0 / 474.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.5412, allocations: 4 kB / 474.3 MB, free: 12.35 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 4.912e-05/0.5412, allocations: 117.7 kB / 474.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.5413, allocations: 73.22 kB / 474.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.5413, allocations: 18.81 kB / 474.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5413, allocations: 0 / 474.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5414, allocations: 0.8125 kB / 474.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5414, allocations: 8 kB / 474.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.275e-05/0.5414, allocations: 150.3 kB / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5414, allocations: 0 / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.684e-05/0.5415, allocations: 8 kB / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5415, allocations: 7.938 kB / 474.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.5415, allocations: 2.938 kB / 474.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5415, allocations: 3.938 kB / 474.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5416, allocations: 0 / 474.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001038/0.5417, allocations: 106 kB / 474.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001507/0.5418, allocations: 488.3 kB / 475.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.5419, allocations: 95.45 kB / 475.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.5419, allocations: 0 / 475.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.5419, allocations: 3.906 kB / 475.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-06/0.5419, allocations: 0 / 475.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.542, allocations: 3.375 kB / 475.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.68e-05/0.542, allocations: 112.7 kB / 475.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007643/0.5428, allocations: 8 kB / 475.5 MB, free: 11.18 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.0001045/0.5429, allocations: 95.25 kB / 475.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.538e-05/0.543, allocations: 49.42 kB / 475.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.543, allocations: 0 / 475.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.543, allocations: 2.531 kB / 475.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.5433, allocations: 34.72 kB / 475.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.5435, allocations: 126 kB / 475.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.5437, allocations: 0.7097 MB / 476.5 MB, free: 10.17 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5437, allocations: 3.938 kB / 476.5 MB, free: 10.16 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1)