Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",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.002164/0.002164, allocations: 199.2 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.742/1.742, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001199, allocations: 92.75 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1565/0.1577, allocations: 56.91 MB / 343.2 MB, free: 8.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.3021, allocations: 51.47 MB / 394.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.6716, allocations: 76.39 MB / 471.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.6719, allocations: 77.14 kB / 471.2 MB, free: 14.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.004061/0.676, allocations: 1.247 MB / 472.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.6761, allocations: 8 kB / 472.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.6761, allocations: 7.906 kB / 472.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.6763, allocations: 203.5 kB / 472.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.6764, allocations: 4 kB / 472.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.6764, allocations: 4 kB / 472.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.6765, allocations: 21.91 kB / 472.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.6767, allocations: 105.3 kB / 472.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6768, allocations: 0 / 472.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.6768, allocations: 4 kB / 472.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6768, allocations: 4 kB / 472.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.6772, allocations: 339.9 kB / 473.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.003e-05/0.6772, allocations: 59.42 kB / 473.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.6773, allocations: 33.86 kB / 473.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.6773, allocations: 0 / 473.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.6773, allocations: 37.94 kB / 473.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.6774, allocations: 0 / 473.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002149/0.6776, allocations: 64.53 kB / 473.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.6776, allocations: 106.2 kB / 473.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.6777, allocations: 125.1 kB / 473.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.6777, allocations: 25.7 kB / 473.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.6778, allocations: 91.03 kB / 473.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.6778, allocations: 3.984 kB / 473.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.6778, allocations: 96 / 473.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.6779, allocations: 325.9 kB / 474 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.6779, allocations: 7.125 kB / 474 MB, free: 12.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.6779, allocations: 30.53 kB / 474 MB, free: 12.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.873e-05/0.678, allocations: 15.27 kB / 474 MB, free: 12.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.678, allocations: 7.938 kB / 474 MB, free: 12.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001101/0.6781, allocations: 52.33 kB / 474.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.6781, allocations: 11.28 kB / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6781, allocations: 3.906 kB / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.6782, allocations: 0 / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.105e-05/0.6782, allocations: 7.188 kB / 474.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6782, allocations: 0 / 474.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.6783, allocations: 4 kB / 474.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.6783, allocations: 7.547 kB / 474.1 MB, free: 12.21 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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.22e-05/0.6784, allocations: 105 kB / 474.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.6785, allocations: 52.69 kB / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.6785, allocations: 7.75 kB / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.6785, allocations: 0 / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6786, allocations: 4 kB / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6786, allocations: 3.906 kB / 474.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.6788, allocations: 155.7 kB / 474.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6788, allocations: 4.031 kB / 474.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.6788, allocations: 0 / 474.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6789, allocations: 0 / 474.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.6789, allocations: 4 kB / 474.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6789, allocations: 0 / 474.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6789, allocations: 0 / 474.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001521/0.6791, allocations: 274.3 kB / 474.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002038/0.6793, allocations: 0.6279 MB / 475.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.6793, allocations: 95.44 kB / 475.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.6794, allocations: 3.375 kB / 475.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6795, allocations: 4.188 kB / 475.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.6796, allocations: 0 / 475.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.6796, allocations: 8.984 kB / 475.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.671e-05/0.6797, allocations: 105.1 kB / 475.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001356/0.681, allocations: 4 kB / 475.5 MB, free: 10.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.0001082/0.6812, allocations: 110.6 kB / 475.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.6813, allocations: 18.97 kB / 475.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6813, allocations: 4 kB / 475.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.6813, allocations: 11.12 kB / 475.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.6817, allocations: 29.06 kB / 475.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.682, allocations: 116.2 kB / 475.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.6823, allocations: 0.7019 MB / 476.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6823, allocations: 4 kB / 476.5 MB, free: 9.73 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1)