Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001085/0.001085, allocations: 199.7 kB / 8.538 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.225/1.225, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008919/0.000892, allocations: 89.2 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1109/0.1118, allocations: 56.91 MB / 343.2 MB, free: 8.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.2103, allocations: 51.48 MB / 394.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2376/0.4479, allocations: 76.71 MB / 471.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.4482, allocations: 68.62 kB / 471.5 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.004075/0.4522, allocations: 1.694 MB / 473.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4523, allocations: 8 kB / 473.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.4523, allocations: 15.81 kB / 473.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.4525, allocations: 200.5 kB / 473.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.4525, allocations: 4.625 kB / 473.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.4526, allocations: 4 kB / 473.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/0.4527, allocations: 41.69 kB / 473.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.4529, allocations: 180.7 kB / 473.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.453, allocations: 0 / 473.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.453, allocations: 3.906 kB / 473.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.453, allocations: 4 kB / 473.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.4531, allocations: 162.9 kB / 473.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.4533, allocations: 121.3 kB / 473.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.4534, allocations: 66.83 kB / 474 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.4534, allocations: 4 kB / 474 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.4534, allocations: 34.56 kB / 474 MB, free: 12.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.4534, allocations: 0 / 474 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001978/0.4536, allocations: 111.7 kB / 474.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.4537, allocations: 59.31 kB / 474.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.4538, allocations: 129.8 kB / 474.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.4538, allocations: 25.7 kB / 474.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.847e-05/0.4538, allocations: 83.75 kB / 474.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.4538, allocations: 11.88 kB / 474.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.4539, allocations: 4 kB / 474.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.4539, allocations: 321.8 kB / 474.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.4539, allocations: 18.56 kB / 474.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.454, allocations: 114.5 kB / 474.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.544e-05/0.4541, allocations: 38.14 kB / 474.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4541, allocations: 2.344 kB / 474.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001777/0.4543, allocations: 132.6 kB / 475 MB, free: 11.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4543, allocations: 8 kB / 475.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.4543, allocations: 4 kB / 475.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4543, allocations: 7.328 kB / 475.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4544, allocations: 27.28 kB / 475.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4545, allocations: 11.94 kB / 475.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.4545, allocations: 14.03 kB / 475.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4546, allocations: 11 kB / 475.1 MB, free: 11.85 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: 0 () * 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 5.531e-05/0.4546, allocations: 109.2 kB / 475.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.4547, allocations: 109.7 kB / 475.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.4548, allocations: 15.5 kB / 475.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4548, allocations: 3.234 kB / 475.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4548, allocations: 0 / 475.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4548, allocations: 3.906 kB / 475.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.881e-05/0.4549, allocations: 158 kB / 475.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4549, allocations: 0 / 475.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.455, allocations: 34.95 kB / 475.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4551, allocations: 4 kB / 475.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4551, allocations: 4 kB / 475.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4551, allocations: 0 / 475.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4551, allocations: 4.047 kB / 475.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00014/0.4552, allocations: 133 kB / 475.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001633/0.4554, allocations: 0.5061 MB / 476.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.4555, allocations: 103.2 kB / 476.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.4555, allocations: 10.22 kB / 476.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.846e-05/0.4555, allocations: 7.922 kB / 476.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-06/0.4555, allocations: 0 / 476.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.4555, allocations: 4 kB / 476.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.684e-05/0.4556, allocations: 113 kB / 476.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008082/0.4564, allocations: 15.94 kB / 476.5 MB, free: 10.58 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: 0 () * 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 9.359e-05/0.4565, allocations: 98.48 kB / 476.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.4567, allocations: 79.12 kB / 476.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4567, allocations: 0 / 476.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.4567, allocations: 0 / 476.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.457, allocations: 72.69 kB / 476.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.4573, allocations: 156.9 kB / 476.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.4575, allocations: 0.7359 MB / 477.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4575, allocations: 0 / 477.6 MB, free: 9.488 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1)