Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.00107/0.00107, allocations: 201.2 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.001, allocations: 94.94 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1162/0.1173, allocations: 56.91 MB / 343.2 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.2161, allocations: 51.47 MB / 394.7 MB, free: 5.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2702/0.4864, allocations: 76.41 MB / 471.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.4867, allocations: 73.41 kB / 471.2 MB, free: 14.72 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.003431/0.4901, allocations: 1.376 MB / 472.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.4902, allocations: 8 kB / 472.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.4902, allocations: 11.91 kB / 472.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.4904, allocations: 189 kB / 472.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.4904, allocations: 4 kB / 472.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.4904, allocations: 0 / 472.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.366e-05/0.4905, allocations: 26.56 kB / 472.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4907, allocations: 110.4 kB / 472.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.4907, allocations: 0 / 472.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4907, allocations: 0 / 472.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4908, allocations: 4 kB / 472.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.4911, allocations: 352.1 kB / 473.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.497e-05/0.4912, allocations: 67.48 kB / 473.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.4912, allocations: 25.98 kB / 473.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4912, allocations: 3.125 kB / 473.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.4913, allocations: 43.47 kB / 473.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.4913, allocations: 4 kB / 473.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000183/0.4915, allocations: 63.59 kB / 473.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.4915, allocations: 106.8 kB / 473.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.4916, allocations: 129.4 kB / 473.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.4916, allocations: 25.7 kB / 473.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.4916, allocations: 83.33 kB / 473.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.4916, allocations: 8 kB / 473.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.4917, allocations: 7.938 kB / 473.8 MB, free: 12.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.4917, allocations: 317.3 kB / 474.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.4917, allocations: 7.5 kB / 474.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.4918, allocations: 26 kB / 474.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.135e-05/0.4918, allocations: 18.3 kB / 474.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4918, allocations: 0 / 474.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.644e-05/0.4919, allocations: 60.42 kB / 474.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.4919, allocations: 6.812 kB / 474.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4919, allocations: 0 / 474.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4919, allocations: 4 kB / 474.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.492, allocations: 15.36 kB / 474.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.492, allocations: 8.125 kB / 474.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.4921, allocations: 8.312 kB / 474.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.4921, allocations: 4 kB / 474.3 MB, free: 12.02 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 5.578e-05/0.4922, allocations: 112 kB / 474.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/0.4922, allocations: 52.39 kB / 474.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.4923, allocations: 7.75 kB / 474.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4923, allocations: 4.969 kB / 474.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4923, allocations: 0 / 474.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4923, allocations: 3.328 kB / 474.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.4925, allocations: 155 kB / 474.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4925, allocations: 4 kB / 474.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.4926, allocations: 15.36 kB / 474.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4926, allocations: 4 kB / 474.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.4926, allocations: 3.938 kB / 474.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4926, allocations: 0 / 474.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4926, allocations: 4 kB / 474.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001279/0.4927, allocations: 266.6 kB / 474.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001664/0.4929, allocations: 0.6374 MB / 475.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.493, allocations: 91.59 kB / 475.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.493, allocations: 5.484 kB / 475.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.4931, allocations: 12 kB / 475.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.4932, allocations: 0 / 475.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4932, allocations: 4 kB / 475.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.647e-05/0.4932, allocations: 110.7 kB / 475.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008192/0.494, allocations: 4 kB / 475.8 MB, free: 10.51 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 8.767e-05/0.4941, allocations: 99.25 kB / 475.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.4942, allocations: 34.66 kB / 475.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4942, allocations: 0 / 475.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.681e-05/0.4943, allocations: 4 kB / 475.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.4945, allocations: 22.84 kB / 475.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.4948, allocations: 124.5 kB / 476 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.4949, allocations: 0.7055 MB / 476.7 MB, free: 9.508 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.495, allocations: 4 kB / 476.7 MB, free: 9.504 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1)