Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_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 3.2.3+maint.om/package.mo): time 0.001853/0.001853, allocations: 185.2 kB / 7.843 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.367/2.367, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001301, allocations: 98.33 kB / 261.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1084/0.1084, allocations: 12.59 MB / 322 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2467/0.3552, allocations: 56.5 MB / 378.5 MB, free: 75.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.4533, allocations: 50.37 MB / 428.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3122/0.7655, allocations: 76.84 MB / 0.4939 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.7659, allocations: 83.34 kB / 0.4939 GB, free: 11.95 MB / 330.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.004926/0.7708, allocations: 1.32 MB / 0.4952 GB, free: 11.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.7709, allocations: 7.781 kB / 0.4952 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.7709, allocations: 12.44 kB / 0.4952 GB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.7712, allocations: 191.5 kB / 0.4954 GB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.7712, allocations: 3.844 kB / 0.4954 GB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.7713, allocations: 0 / 0.4954 GB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001202/0.7714, allocations: 27.41 kB / 0.4955 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.7716, allocations: 116.3 kB / 0.4956 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.7717, allocations: 3.906 kB / 0.4956 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.7717, allocations: 0 / 0.4956 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.7717, allocations: 0 / 0.4956 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.7722, allocations: 357.9 kB / 0.4959 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.618e-05/0.7723, allocations: 64.48 kB / 0.496 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.7723, allocations: 27.22 kB / 0.496 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.7724, allocations: 0 / 0.496 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.7724, allocations: 39.06 kB / 0.496 GB, free: 10.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.7724, allocations: 0 / 0.496 GB, free: 10.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000238/0.7727, allocations: 65.48 kB / 0.4961 GB, free: 10.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.7727, allocations: 102.8 kB / 0.4962 GB, free: 10.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.7728, allocations: 136 kB / 0.4963 GB, free: 10.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.7729, allocations: 25.7 kB / 0.4963 GB, free: 10.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.7729, allocations: 89.83 kB / 0.4964 GB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.7729, allocations: 3.562 kB / 0.4964 GB, free: 10.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.7729, allocations: 0 / 0.4964 GB, free: 10.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.283e-05/0.773, allocations: 312.3 kB / 0.4967 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.7731, allocations: 13.11 kB / 0.4967 GB, free: 10.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.7731, allocations: 34.66 kB / 0.4968 GB, free: 10.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.7731, allocations: 9.359 kB / 0.4968 GB, free: 10.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7732, allocations: 3.938 kB / 0.4968 GB, free: 10.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001177/0.7733, allocations: 68.36 kB / 0.4969 GB, free: 9.969 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7733, allocations: 3.844 kB / 0.4969 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7733, allocations: 0 / 0.4969 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.7734, allocations: 3.969 kB / 0.4969 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.7735, allocations: 11 kB / 0.4969 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.7735, allocations: 3.844 kB / 0.4969 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.7736, allocations: 13.56 kB / 0.4969 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.7736, allocations: 3.844 kB / 0.4969 GB, free: 9.961 MB / 330.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 (sample.u[1],sample.u[2],sample.y[2],sample.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 7.131e-05/0.7737, allocations: 108.8 kB / 0.497 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.7738, allocations: 48.03 kB / 0.497 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.7739, allocations: 12.86 kB / 0.4971 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7739, allocations: 0 / 0.4971 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7739, allocations: 3.844 kB / 0.4971 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7739, allocations: 0 / 0.4971 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.7742, allocations: 161.2 kB / 0.4972 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7742, allocations: 0.75 kB / 0.4972 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.7743, allocations: 13.77 kB / 0.4972 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.7743, allocations: 0.6562 kB / 0.4972 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.7744, allocations: 3.938 kB / 0.4972 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.7744, allocations: 4.406 kB / 0.4972 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7744, allocations: 4 kB / 0.4972 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001789/0.7746, allocations: 276.9 kB / 0.4975 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002119/0.7748, allocations: 0.6314 MB / 0.4981 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.7749, allocations: 95.42 kB / 0.4982 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.7749, allocations: 0.8906 kB / 0.4982 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.7751, allocations: 9.438 kB / 0.4982 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.7752, allocations: 5.672 kB / 0.4982 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.7752, allocations: 7.812 kB / 0.4982 GB, free: 8.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.754e-05/0.7753, allocations: 102.7 kB / 0.4983 GB, free: 8.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001193/0.7765, allocations: 12.44 kB / 0.4983 GB, free: 8.57 MB / 330.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 (sample.u[1],sample.u[2],sample.y[1],sample.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.0001278/0.7766, allocations: 95.28 kB / 0.4984 GB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.7768, allocations: 28.02 kB / 0.4985 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7768, allocations: 0 / 0.4985 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.18e-05/0.7768, allocations: 12.33 kB / 0.4985 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.7772, allocations: 26.83 kB / 0.4985 GB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.7776, allocations: 124.5 kB / 0.4986 GB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.7779, allocations: 0.7105 MB / 0.4993 GB, free: 7.66 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.7779, allocations: 0 / 0.4993 GB, free: 7.66 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1)