Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.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.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",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.002615/0.002615, allocations: 190 kB / 7.846 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.95/1.95, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001423/0.001422, allocations: 98.61 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.1191/0.1191, allocations: 12.59 MB / 322 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2777/0.3969, allocations: 56.49 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.5015, allocations: 50.37 MB / 428.9 MB, free: 25.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.8467, allocations: 77.62 MB / 0.4946 GB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.8469, allocations: 57.41 kB / 0.4947 GB, free: 11.83 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.005564/0.8525, allocations: 1.31 MB / 0.4959 GB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.8526, allocations: 7.719 kB / 0.496 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.8527, allocations: 11.59 kB / 0.496 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.8529, allocations: 175.8 kB / 0.4961 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.8529, allocations: 3.875 kB / 0.4961 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.8529, allocations: 4.609 kB / 0.4961 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001293/0.853, allocations: 31.58 kB / 0.4962 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.8533, allocations: 121.6 kB / 0.4963 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.8534, allocations: 3.844 kB / 0.4963 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.8534, allocations: 3.984 kB / 0.4963 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.8534, allocations: 0 / 0.4963 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.8539, allocations: 279 kB / 0.4966 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.8541, allocations: 139.2 kB / 0.4967 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.8542, allocations: 32.23 kB / 0.4967 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.8542, allocations: 4 kB / 0.4967 GB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.805e-05/0.8543, allocations: 58.28 kB / 0.4968 GB, free: 10.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.8543, allocations: 0 / 0.4968 GB, free: 10.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002216/0.8546, allocations: 72.47 kB / 0.4968 GB, free: 10.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.8546, allocations: 82.66 kB / 0.4969 GB, free: 10.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.8547, allocations: 106.3 kB / 0.497 GB, free: 10.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.8548, allocations: 29.7 kB / 0.4971 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.8548, allocations: 90.7 kB / 0.4971 GB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.8548, allocations: 19.42 kB / 0.4972 GB, free: 10.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.8548, allocations: 0 / 0.4972 GB, free: 10.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.8549, allocations: 317.5 kB / 0.4975 GB, free: 10 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.955e-05/0.855, allocations: 22.16 kB / 0.4975 GB, free: 9.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.8551, allocations: 60.58 kB / 0.4975 GB, free: 9.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.249e-05/0.8551, allocations: 16.75 kB / 0.4976 GB, free: 9.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8551, allocations: 3.844 kB / 0.4976 GB, free: 9.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001914/0.8553, allocations: 87.98 kB / 0.4976 GB, free: 9.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.8554, allocations: 4 kB / 0.4977 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8554, allocations: 8.562 kB / 0.4977 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.8554, allocations: 0 / 0.4977 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.8556, allocations: 14.17 kB / 0.4977 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.8556, allocations: 7.906 kB / 0.4977 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.009e-05/0.8557, allocations: 5.062 kB / 0.4977 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.8557, allocations: 7.156 kB / 0.4977 GB, free: 9.891 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * 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 6.943e-05/0.8558, allocations: 109.3 kB / 0.4978 GB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.18e-05/0.8559, allocations: 50.97 kB / 0.4978 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.8559, allocations: 12.47 kB / 0.4979 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.856, allocations: 0 / 0.4979 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.856, allocations: 0 / 0.4979 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.856, allocations: 0.5156 kB / 0.4979 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.8563, allocations: 296.7 kB / 0.4981 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8563, allocations: 7.719 kB / 0.4981 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.8564, allocations: 9.453 kB / 0.4982 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8564, allocations: 4 kB / 0.4982 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.8564, allocations: 5.047 kB / 0.4982 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8565, allocations: 0 / 0.4982 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.8565, allocations: 96 / 0.4982 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001782/0.8567, allocations: 200.1 kB / 0.4984 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002297/0.8569, allocations: 0.5582 MB / 0.4989 GB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.8569, allocations: 85.52 kB / 0.499 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.857, allocations: 0.5625 kB / 0.499 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.8571, allocations: 4.938 kB / 0.499 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.8572, allocations: 2.297 kB / 0.499 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.8572, allocations: 11.64 kB / 0.499 GB, free: 8.652 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.028e-05/0.8572, allocations: 91.88 kB / 0.4991 GB, free: 8.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001123/0.8584, allocations: 11.59 kB / 0.4991 GB, free: 8.57 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: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * 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.0001091/0.8585, allocations: 109.2 kB / 0.4992 GB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.8587, allocations: 53.98 kB / 0.4993 GB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8587, allocations: 0 / 0.4993 GB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.074e-05/0.8587, allocations: 15.09 kB / 0.4993 GB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.8591, allocations: 16.5 kB / 0.4993 GB, free: 8.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.8595, allocations: 103.7 kB / 0.4994 GB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.8598, allocations: 0.7157 MB / 0.5001 GB, free: 7.668 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.8598, allocations: 0 / 0.5001 GB, free: 7.668 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)