Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep",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.002641/0.002641, allocations: 184.9 kB / 7.841 MB, free: 2.316 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.966/1.966, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001253/0.001253, allocations: 93.78 kB / 261.5 MB, free: 13.61 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.1189/0.1189, allocations: 12.59 MB / 322 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2593/0.3783, allocations: 56.49 MB / 378.5 MB, free: 75.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.5018, allocations: 50.37 MB / 428.9 MB, free: 25.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.8666, allocations: 76.55 MB / 0.4936 GB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.867, allocations: 71.2 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.002476/0.8694, allocations: 0.7177 MB / 0.4943 GB, free: 11.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.8695, allocations: 7.875 kB / 0.4943 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.8696, allocations: 3.969 kB / 0.4943 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.8697, allocations: 184.1 kB / 0.4945 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.8698, allocations: 0 / 0.4945 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.8698, allocations: 7.859 kB / 0.4945 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.957e-05/0.8699, allocations: 10.97 kB / 0.4945 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.8701, allocations: 83.14 kB / 0.4946 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.8701, allocations: 3.938 kB / 0.4946 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.8702, allocations: 4 kB / 0.4946 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.8702, allocations: 1.312 kB / 0.4946 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.8703, allocations: 133.6 kB / 0.4947 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.8704, allocations: 38.52 kB / 0.4948 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.8705, allocations: 17.75 kB / 0.4948 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.8705, allocations: 0 / 0.4948 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.8705, allocations: 34.56 kB / 0.4948 GB, free: 11.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.8705, allocations: 0 / 0.4948 GB, free: 11.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001622/0.8707, allocations: 55.16 kB / 0.4949 GB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.8708, allocations: 55.25 kB / 0.4949 GB, free: 11.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.8708, allocations: 95.14 kB / 0.495 GB, free: 10.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.8709, allocations: 25.7 kB / 0.4951 GB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.8709, allocations: 81.31 kB / 0.4951 GB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.8709, allocations: 4.453 kB / 0.4951 GB, free: 10.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.8709, allocations: 0 / 0.4951 GB, free: 10.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.871, allocations: 319.7 kB / 0.4954 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.871, allocations: 3.875 kB / 0.4954 GB, free: 10.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.871, allocations: 24.25 kB / 0.4955 GB, free: 10.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.12e-05/0.8711, allocations: 4.531 kB / 0.4955 GB, free: 10.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8711, allocations: 4.5 kB / 0.4955 GB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.639e-05/0.8712, allocations: 51.61 kB / 0.4955 GB, free: 10.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.8712, allocations: 3.875 kB / 0.4955 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8712, allocations: 3.812 kB / 0.4955 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.8713, allocations: 0.9375 kB / 0.4955 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.8713, allocations: 16.06 kB / 0.4955 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8714, allocations: 0 / 0.4955 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.8714, allocations: 8.094 kB / 0.4956 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.8714, allocations: 4.578 kB / 0.4956 GB, free: 10.4 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.675e-05/0.8715, allocations: 109.1 kB / 0.4957 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.8716, allocations: 43.23 kB / 0.4957 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.8717, allocations: 8.938 kB / 0.4957 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8717, allocations: 3.844 kB / 0.4957 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8717, allocations: 0 / 0.4957 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.8717, allocations: 0.75 kB / 0.4957 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.983e-05/0.8718, allocations: 137.9 kB / 0.4959 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.8718, allocations: 1.312 kB / 0.4959 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.8719, allocations: 16.59 kB / 0.4959 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8719, allocations: 4 kB / 0.4959 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.8719, allocations: 0 / 0.4959 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.872, allocations: 5.219 kB / 0.4959 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.872, allocations: 192 / 0.4959 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001015/0.8721, allocations: 74.86 kB / 0.4959 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001526/0.8722, allocations: 457.1 kB / 0.4964 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.8723, allocations: 86.31 kB / 0.4965 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.8723, allocations: 0 / 0.4965 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.8724, allocations: 5.391 kB / 0.4965 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.8724, allocations: 0 / 0.4965 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.8724, allocations: 3.844 kB / 0.4965 GB, free: 9.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.48e-05/0.8724, allocations: 82.75 kB / 0.4966 GB, free: 9.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001068/0.8735, allocations: 4.969 kB / 0.4966 GB, free: 9.391 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0001055/0.8736, allocations: 102.5 kB / 0.4967 GB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.852e-05/0.8738, allocations: 16.08 kB / 0.4967 GB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.8738, allocations: 0 / 0.4967 GB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.8738, allocations: 3.938 kB / 0.4967 GB, free: 9.289 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.874, allocations: 16.19 kB / 0.4967 GB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002145/0.8742, allocations: 62.16 kB / 0.4968 GB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.8744, allocations: 0.6979 MB / 0.4974 GB, free: 8.516 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.8744, allocations: 4 kB / 0.4974 GB, free: 8.512 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1)