Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",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.001227/0.001227, allocations: 205 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009681/0.0009681, allocations: 96.25 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1225/0.1235, allocations: 56.9 MB / 343.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.2343, allocations: 51.47 MB / 394.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3003/0.5347, allocations: 76.8 MB / 471.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.535, allocations: 79.12 kB / 471.6 MB, free: 14.07 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.004687/0.5397, allocations: 1.773 MB / 473.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.5397, allocations: 8 kB / 473.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.5398, allocations: 15.81 kB / 473.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.5401, allocations: 208.3 kB / 473.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5401, allocations: 4 kB / 473.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.5401, allocations: 8 kB / 473.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001468/0.5403, allocations: 48.58 kB / 473.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.5407, allocations: 211.1 kB / 473.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5407, allocations: 3.938 kB / 473.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.5407, allocations: 0 / 473.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.5407, allocations: 8 kB / 473.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.5409, allocations: 162.3 kB / 474 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.5411, allocations: 134.1 kB / 474.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.5412, allocations: 74.75 kB / 474.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.5413, allocations: 4 kB / 474.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.5413, allocations: 42.06 kB / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.5413, allocations: 0 / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002261/0.5415, allocations: 128.3 kB / 474.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.5416, allocations: 59.34 kB / 474.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.822e-05/0.5417, allocations: 146.5 kB / 474.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.5417, allocations: 25.7 kB / 474.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.807e-05/0.5417, allocations: 80.47 kB / 474.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.5418, allocations: 15.03 kB / 474.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.5418, allocations: 3.188 kB / 474.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.5418, allocations: 324.2 kB / 475 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.5419, allocations: 18.25 kB / 475.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.049e-05/0.5419, allocations: 120.6 kB / 475.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.542, allocations: 43.89 kB / 475.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.542, allocations: 0 / 475.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001606/0.5421, allocations: 132.7 kB / 475.3 MB, free: 11.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.5422, allocations: 8 kB / 475.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5422, allocations: 4 kB / 475.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5422, allocations: 4 kB / 475.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.5423, allocations: 34.98 kB / 475.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.5423, allocations: 8 kB / 475.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.5424, allocations: 11.84 kB / 475.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.5424, allocations: 8.406 kB / 475.4 MB, free: 11.03 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.759e-05/0.5425, allocations: 135.2 kB / 475.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.5426, allocations: 113.6 kB / 475.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.5427, allocations: 18.5 kB / 475.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5427, allocations: 0 / 475.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5427, allocations: 7.328 kB / 475.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.5427, allocations: 0 / 475.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.623e-05/0.5428, allocations: 157.4 kB / 475.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5428, allocations: 4.688 kB / 475.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.5429, allocations: 36.84 kB / 475.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5429, allocations: 0 / 475.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.543, allocations: 0 / 475.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.543, allocations: 3.125 kB / 475.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.543, allocations: 0 / 475.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001635/0.5431, allocations: 165.5 kB / 476 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002377/0.5434, allocations: 0.5302 MB / 476.6 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.5435, allocations: 99.5 kB / 476.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.5435, allocations: 3.422 kB / 476.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.201e-05/0.5435, allocations: 0 / 476.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-06/0.5435, allocations: 0 / 476.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.5436, allocations: 4 kB / 476.7 MB, free: 9.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.367e-05/0.5436, allocations: 113.9 kB / 476.8 MB, free: 9.727 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008671/0.5445, allocations: 16 kB / 476.8 MB, free: 9.711 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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001161/0.5446, allocations: 109.4 kB / 476.9 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.5448, allocations: 86.52 kB / 477 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5448, allocations: 0 / 477 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.5448, allocations: 1 kB / 477 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.5451, allocations: 90.3 kB / 477.1 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.5454, allocations: 186 kB / 477.3 MB, free: 9.312 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.5456, allocations: 0.7303 MB / 478 MB, free: 8.574 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5456, allocations: 0 / 478 MB, free: 8.574 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1)