Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.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.RealSignals.FractionalDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay",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.001697/0.001697, allocations: 186.5 kB / 7.844 MB, free: 2.461 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.02/2.02, allocations: 205.2 MB / 213.4 MB, free: 13.94 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.00129/0.00129, allocations: 90.39 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.1105/0.1105, allocations: 12.59 MB / 322 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2367/0.3473, allocations: 56.5 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.4417, allocations: 50.38 MB / 428.9 MB, free: 25.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3042/0.7459, allocations: 77.73 MB / 0.4947 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.7463, allocations: 84.36 kB / 0.4948 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.008673/0.755, allocations: 2.12 MB / 0.4969 GB, free: 11.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.755, allocations: 7.719 kB / 0.4969 GB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.7551, allocations: 11.5 kB / 0.4969 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.7553, allocations: 198.9 kB / 0.4971 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.7554, allocations: 7.719 kB / 0.4971 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.7554, allocations: 3.875 kB / 0.4971 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/0.7555, allocations: 24.66 kB / 0.4971 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.7558, allocations: 137.8 kB / 0.4972 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.7559, allocations: 0 / 0.4972 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.7559, allocations: 0 / 0.4972 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.7559, allocations: 0 / 0.4972 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.7563, allocations: 262 kB / 0.4975 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.7564, allocations: 74.41 kB / 0.4976 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.7565, allocations: 39.55 kB / 0.4976 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.7566, allocations: 11.92 kB / 0.4976 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.7566, allocations: 39.53 kB / 0.4977 GB, free: 10.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.7566, allocations: 0 / 0.4977 GB, free: 10.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002483/0.7569, allocations: 73.67 kB / 0.4977 GB, free: 10.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.7569, allocations: 112.3 kB / 0.4978 GB, free: 10.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.757, allocations: 127.3 kB / 0.498 GB, free: 10.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.7571, allocations: 25.7 kB / 0.498 GB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.7571, allocations: 84.78 kB / 0.4981 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.7571, allocations: 14.17 kB / 0.4981 GB, free: 10.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-06/0.7571, allocations: 0 / 0.4981 GB, free: 10.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.7572, allocations: 317.2 kB / 0.4984 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.7573, allocations: 11.41 kB / 0.4984 GB, free: 10.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/0.7574, allocations: 63.05 kB / 0.4984 GB, free: 10 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.7574, allocations: 24.33 kB / 0.4985 GB, free: 10 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7575, allocations: 0 / 0.4985 GB, free: 10 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001734/0.7576, allocations: 84.22 kB / 0.4986 GB, free: 9.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7577, allocations: 8.906 kB / 0.4986 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7577, allocations: 0 / 0.4986 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.7577, allocations: 3.844 kB / 0.4986 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.7579, allocations: 16.78 kB / 0.4986 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7579, allocations: 5.312 kB / 0.4986 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.058e-05/0.758, allocations: 7.75 kB / 0.4986 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.758, allocations: 9.828 kB / 0.4986 GB, free: 9.945 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (fractionalDelay.first,$CLKPRE.fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.255e-05/0.7581, allocations: 108.9 kB / 0.4987 GB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.7582, allocations: 63.3 kB / 0.4988 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.7583, allocations: 12.84 kB / 0.4988 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7583, allocations: 0 / 0.4988 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.7584, allocations: 11.75 kB / 0.4988 GB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.7584, allocations: 1.547 kB / 0.4988 GB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.7587, allocations: 155.8 kB / 0.4989 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.7588, allocations: 0 / 0.4989 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.7592, allocations: 18.88 kB / 0.499 GB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.7592, allocations: 0 / 0.499 GB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.7593, allocations: 0 / 0.499 GB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.7593, allocations: 3.969 kB / 0.499 GB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/0.7594, allocations: 5.219 kB / 0.499 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006746/0.7601, allocations: 199.9 kB / 0.4992 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004265/0.7605, allocations: 0.576 MB / 0.4997 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.7607, allocations: 100.2 kB / 0.4998 GB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.7607, allocations: 8.609 kB / 0.4998 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.7609, allocations: 3.875 kB / 0.4998 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.7609, allocations: 0 / 0.4998 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.761, allocations: 5.047 kB / 0.4998 GB, free: 8.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.453e-05/0.7611, allocations: 105.3 kB / 0.4999 GB, free: 8.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001155/0.7622, allocations: 15.47 kB / 0.4999 GB, free: 8.688 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 (fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001181/0.7624, allocations: 99.45 kB / 0.5 GB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.7625, allocations: 46.5 kB / 0.5001 GB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7626, allocations: 0 / 0.5001 GB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.7626, allocations: 8.547 kB / 0.5001 GB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.763, allocations: 37.67 kB / 0.5001 GB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.7636, allocations: 135 kB / 0.5003 GB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.7639, allocations: 0.7235 MB / 0.501 GB, free: 7.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7639, allocations: 0 / 0.501 GB, free: 7.77 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1)