Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.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.WorkInProgress.Tests.TestEventClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator",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.001868/0.001867, allocations: 186.4 kB / 7.839 MB, free: 2.469 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.959/1.959, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.003589/0.003588, allocations: 97.48 kB / 261.5 MB, free: 13.63 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.1063/0.1063, allocations: 12.59 MB / 322 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3125/0.4188, allocations: 56.49 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.5574, allocations: 50.39 MB / 428.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.9375, allocations: 78 MB / 0.495 GB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.9378, allocations: 64.08 kB / 0.495 GB, free: 11.87 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.008487/0.9463, allocations: 1.856 MB / 0.4969 GB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.9464, allocations: 7.719 kB / 0.4969 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.9465, allocations: 11.78 kB / 0.4969 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.9467, allocations: 186.8 kB / 0.4971 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.9467, allocations: 0 / 0.4971 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.9468, allocations: 3.844 kB / 0.4971 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001294/0.9469, allocations: 31.55 kB / 0.4971 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.9472, allocations: 107.2 kB / 0.4972 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.9472, allocations: 0 / 0.4972 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.9472, allocations: 0 / 0.4972 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.9472, allocations: 3.906 kB / 0.4972 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.9477, allocations: 356.6 kB / 0.4975 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/0.9482, allocations: 94.77 kB / 0.4976 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.033e-05/0.9483, allocations: 36.81 kB / 0.4977 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.9483, allocations: 0 / 0.4977 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.9485, allocations: 73.8 kB / 0.4977 GB, free: 10.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.9485, allocations: 4 kB / 0.4977 GB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002682/0.9488, allocations: 81.62 kB / 0.4978 GB, free: 10.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.9488, allocations: 109.1 kB / 0.4979 GB, free: 10.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.949, allocations: 115.7 kB / 0.498 GB, free: 10.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.949, allocations: 25.7 kB / 0.4981 GB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.949, allocations: 86.5 kB / 0.4981 GB, free: 10.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.9491, allocations: 17 kB / 0.4982 GB, free: 10.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.9491, allocations: 0 / 0.4982 GB, free: 10.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.9492, allocations: 328.8 kB / 0.4985 GB, free: 9.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.449e-05/0.9492, allocations: 23.89 kB / 0.4985 GB, free: 9.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.232e-05/0.9493, allocations: 53.39 kB / 0.4985 GB, free: 9.848 MB / 330.7 MB Notification: The following equation is consistent and got removed from the initialization problem: firstOrder.y = firstOrder.y_start Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.9495, allocations: 113 kB / 0.4986 GB, free: 9.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9496, allocations: 0 / 0.4986 GB, free: 9.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002233/0.9498, allocations: 95.56 kB / 0.4987 GB, free: 9.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9498, allocations: 3.812 kB / 0.4987 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.9498, allocations: 5.609 kB / 0.4987 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.9499, allocations: 0 / 0.4987 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.95, allocations: 26.86 kB / 0.4988 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.9501, allocations: 3.844 kB / 0.4988 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.9502, allocations: 17.2 kB / 0.4988 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.9503, allocations: 3.844 kB / 0.4988 GB, free: 9.691 MB / 330.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: firstOrder.y = firstOrder.y_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.000113/0.9504, allocations: 113.8 kB / 0.4989 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.9505, allocations: 61.78 kB / 0.499 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.9506, allocations: 13.02 kB / 0.499 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.9506, allocations: 0 / 0.499 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9506, allocations: 0 / 0.499 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.9506, allocations: 4.531 kB / 0.499 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.9511, allocations: 310 kB / 0.4993 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.9511, allocations: 0.75 kB / 0.4993 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.9514, allocations: 28.02 kB / 0.4993 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9514, allocations: 0 / 0.4993 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.9514, allocations: 5.094 kB / 0.4993 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.9514, allocations: 3.906 kB / 0.4993 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.9514, allocations: 0 / 0.4993 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002288/0.9517, allocations: 212.3 kB / 0.4995 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002691/0.9519, allocations: 0.582 MB / 0.5001 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.952, allocations: 86.03 kB / 0.5002 GB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.952, allocations: 4.375 kB / 0.5002 GB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.9523, allocations: 11.22 kB / 0.5002 GB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/0.9524, allocations: 21.89 kB / 0.5002 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.9524, allocations: 8.422 kB / 0.5002 GB, free: 8.395 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.441e-05/0.9525, allocations: 91.67 kB / 0.5003 GB, free: 8.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001175/0.9537, allocations: 19.91 kB / 0.5003 GB, free: 8.316 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 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001388/0.9538, allocations: 99.69 kB / 0.5004 GB, free: 8.227 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.9541, allocations: 52.91 kB / 0.5005 GB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9542, allocations: 384 / 0.5005 GB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/0.9542, allocations: 19.48 kB / 0.5005 GB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.9547, allocations: 31.41 kB / 0.5005 GB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.9552, allocations: 126.9 kB / 0.5006 GB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.9555, allocations: 0.7184 MB / 0.5013 GB, free: 7.406 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.9555, allocations: 4.062 kB / 0.5013 GB, free: 7.402 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe 2>&1)