Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",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.001674/0.001674, 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.913/1.913, allocations: 205.2 MB / 213.5 MB, free: 13.85 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.00272/0.002719, allocations: 95.73 kB / 261.5 MB, free: 13.61 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.1099/0.1099, allocations: 12.59 MB / 322 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2945/0.4045, allocations: 56.5 MB / 378.5 MB, free: 75.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.5085, allocations: 50.37 MB / 428.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3197/0.8282, allocations: 77.52 MB / 0.4945 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.8286, allocations: 73.28 kB / 0.4946 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.008167/0.8368, allocations: 1.999 MB / 0.4965 GB, free: 11.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8368, allocations: 11.5 kB / 0.4965 GB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.8369, allocations: 11.66 kB / 0.4966 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.8371, allocations: 188.9 kB / 0.4967 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.8371, allocations: 3.844 kB / 0.4967 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.8372, allocations: 0 / 0.4967 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.59e-05/0.8373, allocations: 16.83 kB / 0.4968 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.8375, allocations: 99.56 kB / 0.4969 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8375, allocations: 0 / 0.4969 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.8375, allocations: 0 / 0.4969 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.8376, allocations: 3.875 kB / 0.4969 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.8379, allocations: 246.6 kB / 0.4971 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/0.838, allocations: 40.38 kB / 0.4971 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.838, allocations: 14.41 kB / 0.4971 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.8381, allocations: 0 / 0.4971 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.8381, allocations: 38.53 kB / 0.4972 GB, free: 10.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.8381, allocations: 0 / 0.4972 GB, free: 10.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.000185/0.8383, allocations: 51.17 kB / 0.4972 GB, free: 10.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.8383, allocations: 77.11 kB / 0.4973 GB, free: 10.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8385, allocations: 124.1 kB / 0.4974 GB, free: 10.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.8385, allocations: 26.45 kB / 0.4974 GB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.8385, allocations: 89.19 kB / 0.4975 GB, free: 10.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.8386, allocations: 7.75 kB / 0.4975 GB, free: 10.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.8386, allocations: 1.125 kB / 0.4975 GB, free: 10.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.8386, allocations: 312.6 kB / 0.4978 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.8387, allocations: 7.031 kB / 0.4978 GB, free: 10.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.8387, allocations: 10.28 kB / 0.4979 GB, free: 10.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.8387, allocations: 9.312 kB / 0.4979 GB, free: 10.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.8388, allocations: 4 kB / 0.4979 GB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.047e-05/0.8389, allocations: 47.17 kB / 0.4979 GB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8389, allocations: 4.5 kB / 0.4979 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8389, allocations: 3.938 kB / 0.4979 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.8389, allocations: 3.844 kB / 0.4979 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/0.839, allocations: 5.578 kB / 0.4979 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.839, allocations: 0.6562 kB / 0.4979 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.8391, allocations: 20.3 kB / 0.4979 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.8391, allocations: 4.562 kB / 0.498 GB, free: 10.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.432e-05/0.8392, allocations: 107.8 kB / 0.4981 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.8393, allocations: 41.91 kB / 0.4981 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.8393, allocations: 9.531 kB / 0.4981 GB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8393, allocations: 0 / 0.4981 GB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8394, allocations: 3.75 kB / 0.4981 GB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8394, allocations: 0 / 0.4981 GB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.8395, allocations: 152.4 kB / 0.4983 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8395, allocations: 4.031 kB / 0.4983 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.8396, allocations: 9.156 kB / 0.4983 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8396, allocations: 0 / 0.4983 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.8397, allocations: 0.7031 kB / 0.4983 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8397, allocations: 3.938 kB / 0.4983 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.8397, allocations: 0.75 kB / 0.4983 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001202/0.8398, allocations: 159 kB / 0.4984 GB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001712/0.84, allocations: 0.5333 MB / 0.4989 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.8401, allocations: 92.23 kB / 0.499 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.8401, allocations: 5.328 kB / 0.499 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.8403, allocations: 4.969 kB / 0.499 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.8403, allocations: 0 / 0.499 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.8403, allocations: 5.422 kB / 0.499 GB, free: 8.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.092e-05/0.8404, allocations: 102.4 kB / 0.4991 GB, free: 8.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001091/0.8415, allocations: 3.875 kB / 0.4991 GB, free: 8.918 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 (2): * Single equations (assignments): 2 * 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.0001077/0.8416, allocations: 101.2 kB / 0.4992 GB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.8417, allocations: 20.3 kB / 0.4993 GB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8417, allocations: 0 / 0.4993 GB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.218e-05/0.8418, allocations: 3.719 kB / 0.4993 GB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.8422, allocations: 14.59 kB / 0.4993 GB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.8425, allocations: 93.77 kB / 0.4994 GB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.8428, allocations: 0.7061 MB / 0.5001 GB, free: 8.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.8428, allocations: 4.281 kB / 0.5001 GB, free: 8.016 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1)