Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.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.TestExactClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator",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.004/0.004006, allocations: 191.9 kB / 7.843 MB, free: 2.48 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.067/2.067, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.001282/0.001282, allocations: 100.1 kB / 261.5 MB, free: 13.6 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.1289/0.1289, allocations: 12.58 MB / 322 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2907/0.4196, allocations: 56.5 MB / 378.5 MB, free: 75.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.5123, allocations: 50.38 MB / 428.9 MB, free: 25.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/0.836, allocations: 77.67 MB / 0.4947 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.8363, allocations: 56.59 kB / 0.4947 GB, free: 11.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.009402/0.8457, allocations: 1.817 MB / 0.4965 GB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.8458, allocations: 8.344 kB / 0.4965 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.8459, allocations: 15.53 kB / 0.4965 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.8463, allocations: 193.2 kB / 0.4967 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.8463, allocations: 4.609 kB / 0.4967 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.8464, allocations: 3.938 kB / 0.4967 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001538/0.8465, allocations: 22 kB / 0.4967 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.8469, allocations: 104.8 kB / 0.4968 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.847, allocations: 0 / 0.4968 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.847, allocations: 0 / 0.4968 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.847, allocations: 0 / 0.4968 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.8478, allocations: 257.8 kB / 0.4971 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.8486, allocations: 72.28 kB / 0.4971 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.8487, allocations: 29.08 kB / 0.4972 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.8488, allocations: 3.984 kB / 0.4972 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.8488, allocations: 31.08 kB / 0.4972 GB, free: 10.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.288e-06/0.8488, allocations: 0 / 0.4972 GB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004169/0.8493, allocations: 59.94 kB / 0.4973 GB, free: 10.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.8494, allocations: 90.75 kB / 0.4973 GB, free: 10.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.8496, allocations: 129.1 kB / 0.4975 GB, free: 10.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.8497, allocations: 25.7 kB / 0.4975 GB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.8497, allocations: 89.61 kB / 0.4976 GB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.8498, allocations: 4.562 kB / 0.4976 GB, free: 10.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.8498, allocations: 0 / 0.4976 GB, free: 10.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.8499, allocations: 321.2 kB / 0.4979 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.85, allocations: 10.59 kB / 0.4979 GB, free: 10.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.577e-05/0.8501, allocations: 47.61 kB / 0.4979 GB, free: 10.01 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.0002499/0.8503, allocations: 97.08 kB / 0.498 GB, free: 9.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8504, allocations: 0 / 0.498 GB, free: 9.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000282/0.8507, allocations: 77.39 kB / 0.4981 GB, free: 9.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.8507, allocations: 8.359 kB / 0.4981 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8507, allocations: 0 / 0.4981 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.8508, allocations: 3.844 kB / 0.4981 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.851, allocations: 14.7 kB / 0.4981 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.082e-05/0.8511, allocations: 0 / 0.4981 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.8513, allocations: 9.266 kB / 0.4981 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.8513, allocations: 8.125 kB / 0.4982 GB, free: 9.863 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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001373/0.8514, allocations: 113.2 kB / 0.4983 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.8517, allocations: 55.09 kB / 0.4983 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.8519, allocations: 9.438 kB / 0.4983 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.8519, allocations: 3.688 kB / 0.4983 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.8519, allocations: 4.547 kB / 0.4983 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.8519, allocations: 0 / 0.4983 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.8523, allocations: 154.8 kB / 0.4985 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8523, allocations: 0.6562 kB / 0.4985 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.8527, allocations: 23.89 kB / 0.4985 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.8527, allocations: 0 / 0.4985 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.8528, allocations: 0.7031 kB / 0.4985 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.8528, allocations: 4.516 kB / 0.4985 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8528, allocations: 0 / 0.4985 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000363/0.8532, allocations: 184.6 kB / 0.4987 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003716/0.8536, allocations: 0.5452 MB / 0.4992 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.8537, allocations: 92.89 kB / 0.4993 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.8538, allocations: 0 / 0.4993 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.854, allocations: 9.906 kB / 0.4993 GB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.8541, allocations: 1.125 kB / 0.4993 GB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.8541, allocations: 4.484 kB / 0.4993 GB, free: 8.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001232/0.8542, allocations: 110.6 kB / 0.4994 GB, free: 8.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00253/0.8568, allocations: 8.281 kB / 0.4994 GB, free: 8.672 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001774/0.857, allocations: 107 kB / 0.4995 GB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.8574, allocations: 34.61 kB / 0.4996 GB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.8574, allocations: 4.312 kB / 0.4996 GB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.612e-05/0.8575, allocations: 4.688 kB / 0.4996 GB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.8581, allocations: 30.23 kB / 0.4996 GB, free: 8.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.8586, allocations: 115.4 kB / 0.4997 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.8589, allocations: 0.7125 MB / 0.5004 GB, free: 7.773 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.859, allocations: 0 / 0.5004 GB, free: 7.773 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator_fmu --startTime=0 --stopTime=0.0001 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)