Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.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.TestCommunicationDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestCommunicationDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestCommunicationDelay",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.001797/0.001796, allocations: 186.5 kB / 7.844 MB, free: 2.473 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.011/2.011, allocations: 205.2 MB / 213.5 MB, free: 13.92 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.001307/0.001307, allocations: 85.27 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.1085/0.1085, allocations: 12.6 MB / 322 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2768/0.3854, allocations: 56.49 MB / 378.5 MB, free: 75.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.4893, allocations: 50.37 MB / 428.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.8309, allocations: 78.82 MB / 0.4958 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.8313, allocations: 64 kB / 0.4958 GB, free: 11.95 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.01427/0.8456, allocations: 2.195 MB / 0.498 GB, free: 11.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.8457, allocations: 11.41 kB / 0.498 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.8458, allocations: 15.56 kB / 0.498 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.8462, allocations: 204 kB / 0.4982 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.8463, allocations: 5.266 kB / 0.4982 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.8463, allocations: 7.875 kB / 0.4982 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002857/0.8466, allocations: 38.47 kB / 0.4983 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006962/0.8473, allocations: 208.3 kB / 0.4985 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.8474, allocations: 4 kB / 0.4985 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.8474, allocations: 3.984 kB / 0.4985 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.8475, allocations: 3.812 kB / 0.4985 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.8481, allocations: 289.1 kB / 0.4987 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.8485, allocations: 129.5 kB / 0.4989 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.8488, allocations: 86.28 kB / 0.499 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.8489, allocations: 0 / 0.499 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.8489, allocations: 39.77 kB / 0.499 GB, free: 10.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 3.567e-06/0.849, allocations: 0 / 0.499 GB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005013/0.8495, allocations: 115.2 kB / 0.4991 GB, free: 10.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.8496, allocations: 112.1 kB / 0.4992 GB, free: 10.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.8497, allocations: 117.4 kB / 0.4993 GB, free: 10.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.8498, allocations: 25.7 kB / 0.4993 GB, free: 10.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.8498, allocations: 97.88 kB / 0.4994 GB, free: 10.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.8499, allocations: 10.61 kB / 0.4994 GB, free: 10.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.8499, allocations: 0 / 0.4994 GB, free: 10.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.85, allocations: 328.6 kB / 0.4998 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/0.8502, allocations: 15.88 kB / 0.4998 GB, free: 10.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.8503, allocations: 133.5 kB / 0.4999 GB, free: 9.883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.8505, allocations: 36.86 kB / 0.4999 GB, free: 9.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.8505, allocations: 3.812 kB / 0.4999 GB, free: 9.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004413/0.851, allocations: 139.2 kB / 0.5001 GB, free: 9.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.851, allocations: 3.906 kB / 0.5001 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.8511, allocations: 5.312 kB / 0.5001 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.8511, allocations: 7.469 kB / 0.5001 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.8515, allocations: 39.97 kB / 0.5001 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.8515, allocations: 11.77 kB / 0.5001 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.8518, allocations: 13.09 kB / 0.5002 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.8518, allocations: 10.88 kB / 0.5002 GB, free: 9.797 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (fixedDelay.first,$CLKPRE.fixedDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001369/0.852, allocations: 108.8 kB / 0.5003 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.8524, allocations: 104.1 kB / 0.5004 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.731e-05/0.8525, allocations: 19.11 kB / 0.5004 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.8525, allocations: 4.031 kB / 0.5004 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.8525, allocations: 7.656 kB / 0.5004 GB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.8526, allocations: 1.312 kB / 0.5004 GB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.8529, allocations: 170.4 kB / 0.5006 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.8529, allocations: 1.266 kB / 0.5006 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.8532, allocations: 36.25 kB / 0.5006 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.8533, allocations: 0 / 0.5006 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.8533, allocations: 0 / 0.5006 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.8533, allocations: 3.844 kB / 0.5006 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8533, allocations: 3.938 kB / 0.5006 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004073/0.8538, allocations: 249.3 kB / 0.5008 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004646/0.8543, allocations: 0.6245 MB / 0.5014 GB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.8543, allocations: 88.92 kB / 0.5015 GB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.8544, allocations: 3.594 kB / 0.5015 GB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.8547, allocations: 5.047 kB / 0.5015 GB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.8547, allocations: 9.312 kB / 0.5016 GB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.8548, allocations: 7.062 kB / 0.5016 GB, free: 8.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.236e-05/0.8549, allocations: 99.28 kB / 0.5017 GB, free: 8.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002082/0.857, allocations: 15.44 kB / 0.5017 GB, free: 8.516 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: 1 (fixedDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001979/0.8572, allocations: 100.1 kB / 0.5018 GB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.8576, allocations: 83.7 kB / 0.5018 GB, free: 8.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.8577, allocations: 0.7188 kB / 0.5018 GB, free: 8.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.8577, allocations: 7.875 kB / 0.5019 GB, free: 8.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.8591, allocations: 65.88 kB / 0.5019 GB, free: 8.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.8609, allocations: 163.9 kB / 0.5021 GB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.8613, allocations: 0.74 MB / 0.5028 GB, free: 7.586 MB / 330.7 MB Notification: Performance of SimCode: time 1.813e-06/0.8613, allocations: 160 / 0.5028 GB, free: 7.586 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestCommunicationDelay_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestCommunicationDelay.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)