Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep",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.0017/0.0017, allocations: 187 kB / 7.843 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.001306/0.001305, allocations: 94.53 kB / 261.5 MB, free: 13.64 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.1094/0.1094, allocations: 12.59 MB / 322 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2606/0.37, allocations: 56.49 MB / 378.5 MB, free: 75.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.4665, allocations: 50.38 MB / 428.9 MB, free: 25.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3008/0.7673, allocations: 76.5 MB / 0.4935 GB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.7677, allocations: 75.98 kB / 0.4936 GB, free: 11.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003027/0.7708, allocations: 0.7874 MB / 0.4944 GB, free: 11.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.7708, allocations: 7.719 kB / 0.4944 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.7709, allocations: 7.406 kB / 0.4944 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.7711, allocations: 170.3 kB / 0.4945 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.7711, allocations: 4 kB / 0.4945 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.7711, allocations: 3.844 kB / 0.4945 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.701e-05/0.7712, allocations: 19.03 kB / 0.4946 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.7715, allocations: 86.48 kB / 0.4946 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.7715, allocations: 0 / 0.4946 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.7715, allocations: 4.469 kB / 0.4947 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.7715, allocations: 3.984 kB / 0.4947 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.7716, allocations: 138.2 kB / 0.4948 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.7718, allocations: 34.48 kB / 0.4948 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.7718, allocations: 17.67 kB / 0.4948 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.7718, allocations: 3.844 kB / 0.4948 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.7719, allocations: 38.44 kB / 0.4949 GB, free: 11.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.7719, allocations: 0 / 0.4949 GB, free: 11.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001581/0.7721, allocations: 46.28 kB / 0.4949 GB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.7721, allocations: 60.23 kB / 0.495 GB, free: 11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/0.7722, allocations: 100.7 kB / 0.4951 GB, free: 10.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.7722, allocations: 29.64 kB / 0.4951 GB, free: 10.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.688e-05/0.7722, allocations: 81.59 kB / 0.4952 GB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.7723, allocations: 0 / 0.4952 GB, free: 10.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.7723, allocations: 0 / 0.4952 GB, free: 10.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.7723, allocations: 323.7 kB / 0.4955 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.7724, allocations: 3.969 kB / 0.4955 GB, free: 10.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.7724, allocations: 32.09 kB / 0.4955 GB, free: 10.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.7724, allocations: 11.34 kB / 0.4955 GB, free: 10.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7725, allocations: 0 / 0.4955 GB, free: 10.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.374e-05/0.7726, allocations: 52.14 kB / 0.4956 GB, free: 10.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7726, allocations: 7.906 kB / 0.4956 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.7726, allocations: 3.906 kB / 0.4956 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7726, allocations: 0 / 0.4956 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.7727, allocations: 8.922 kB / 0.4956 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7727, allocations: 5.688 kB / 0.4956 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.7728, allocations: 3.844 kB / 0.4956 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.7728, allocations: 0 / 0.4956 GB, free: 10.39 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.913e-05/0.7729, allocations: 105 kB / 0.4957 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.773, allocations: 51.58 kB / 0.4958 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.773, allocations: 11.69 kB / 0.4958 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.773, allocations: 0 / 0.4958 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.773, allocations: 1.5 kB / 0.4958 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7731, allocations: 0 / 0.4958 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.51e-05/0.7731, allocations: 135.7 kB / 0.4959 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7731, allocations: 0 / 0.4959 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.7733, allocations: 21.77 kB / 0.4959 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.7733, allocations: 0 / 0.4959 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.7733, allocations: 0 / 0.4959 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7733, allocations: 4 kB / 0.4959 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7733, allocations: 0 / 0.4959 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001042/0.7734, allocations: 74.78 kB / 0.496 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001462/0.7736, allocations: 456.5 kB / 0.4964 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.7736, allocations: 82.83 kB / 0.4965 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.7737, allocations: 7.938 kB / 0.4965 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.7737, allocations: 5.297 kB / 0.4965 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-06/0.7738, allocations: 0 / 0.4965 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.7738, allocations: 8.266 kB / 0.4965 GB, free: 9.457 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.013e-05/0.7738, allocations: 86.41 kB / 0.4966 GB, free: 9.383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001045/0.7749, allocations: 5.062 kB / 0.4966 GB, free: 9.383 MB / 330.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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 9.781e-05/0.775, allocations: 94.59 kB / 0.4967 GB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.7751, allocations: 24.06 kB / 0.4967 GB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7751, allocations: 0 / 0.4967 GB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.7751, allocations: 3.844 kB / 0.4967 GB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.7754, allocations: 16.16 kB / 0.4968 GB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.7756, allocations: 61.73 kB / 0.4968 GB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.7758, allocations: 0.7016 MB / 0.4975 GB, free: 8.512 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.7758, allocations: 0 / 0.4975 GB, free: 8.512 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1)