Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",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.002346/0.002346, allocations: 185.6 kB / 7.844 MB, free: 2.5 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.953/1.953, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.002144/0.002144, allocations: 90.89 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.1285/0.1285, allocations: 12.59 MB / 322 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2579/0.3864, allocations: 56.49 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.4807, allocations: 50.38 MB / 428.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3117/0.7925, allocations: 77.61 MB / 0.4946 GB, free: 12.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.7928, allocations: 78.16 kB / 0.4947 GB, free: 12.07 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.007099/0.7999, allocations: 1.595 MB / 0.4962 GB, free: 11.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.8, allocations: 12.97 kB / 0.4962 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.8001, allocations: 7.875 kB / 0.4963 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.8003, allocations: 202.6 kB / 0.4964 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.8003, allocations: 0 / 0.4964 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.8004, allocations: 3.844 kB / 0.4965 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/0.8005, allocations: 24.59 kB / 0.4965 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.8008, allocations: 122.5 kB / 0.4966 GB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8008, allocations: 0 / 0.4966 GB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.8008, allocations: 0 / 0.4966 GB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.8008, allocations: 4.922 kB / 0.4966 GB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.8012, allocations: 272.3 kB / 0.4969 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.8014, allocations: 93.69 kB / 0.4969 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/0.8015, allocations: 41.73 kB / 0.497 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.8015, allocations: 3.281 kB / 0.497 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.8015, allocations: 39.09 kB / 0.497 GB, free: 10.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.8015, allocations: 0 / 0.497 GB, free: 10.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002317/0.8018, allocations: 73.58 kB / 0.4971 GB, free: 10.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.8018, allocations: 133.7 kB / 0.4972 GB, free: 10.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.802, allocations: 130.4 kB / 0.4973 GB, free: 10.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.802, allocations: 30.19 kB / 0.4974 GB, free: 10.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.8021, allocations: 81.59 kB / 0.4975 GB, free: 10.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.8021, allocations: 8.703 kB / 0.4975 GB, free: 10.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.8021, allocations: 0 / 0.4975 GB, free: 10.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.8022, allocations: 320.6 kB / 0.4978 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.8022, allocations: 3.875 kB / 0.4978 GB, free: 10.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.8023, allocations: 44.66 kB / 0.4978 GB, free: 10.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.8023, allocations: 20.62 kB / 0.4978 GB, free: 10.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8023, allocations: 0 / 0.4978 GB, free: 10.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001379/0.8025, allocations: 64.16 kB / 0.4979 GB, free: 10.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.8025, allocations: 3.875 kB / 0.4979 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8025, allocations: 3.938 kB / 0.4979 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.8026, allocations: 4.797 kB / 0.4979 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.8027, allocations: 17.59 kB / 0.4979 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.8027, allocations: 4.359 kB / 0.4979 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.8028, allocations: 4.812 kB / 0.4979 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.8028, allocations: 4.719 kB / 0.4979 GB, free: 10.02 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.164e-05/0.8029, allocations: 104.9 kB / 0.498 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.8031, allocations: 71.2 kB / 0.4981 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.8031, allocations: 13.52 kB / 0.4981 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.8031, allocations: 0 / 0.4981 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.8031, allocations: 3.844 kB / 0.4981 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.8032, allocations: 0.7031 kB / 0.4981 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.8034, allocations: 154.3 kB / 0.4983 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8034, allocations: 0 / 0.4983 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.8035, allocations: 14.48 kB / 0.4983 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.8035, allocations: 3.812 kB / 0.4983 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.8035, allocations: 4.594 kB / 0.4983 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8035, allocations: 4.812 kB / 0.4983 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.8036, allocations: 8.438 kB / 0.4983 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001748/0.8037, allocations: 217.8 kB / 0.4985 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002594/0.804, allocations: 0.5865 MB / 0.4991 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.8041, allocations: 104 kB / 0.4992 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.8041, allocations: 0.6094 kB / 0.4992 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.8043, allocations: 8.453 kB / 0.4992 GB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.8043, allocations: 4.969 kB / 0.4992 GB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.8044, allocations: 0.6094 kB / 0.4992 GB, free: 8.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.975e-05/0.8044, allocations: 116.3 kB / 0.4993 GB, free: 8.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001157/0.8056, allocations: 11.75 kB / 0.4993 GB, free: 8.699 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001102/0.8057, allocations: 97.53 kB / 0.4994 GB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.8059, allocations: 30.44 kB / 0.4994 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8059, allocations: 0 / 0.4994 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.327e-05/0.8059, allocations: 7.328 kB / 0.4995 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.8064, allocations: 40.33 kB / 0.4995 GB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.8068, allocations: 126.2 kB / 0.4996 GB, free: 8.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.807, allocations: 0.7164 MB / 0.5003 GB, free: 7.785 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.8071, allocations: 0 / 0.5003 GB, free: 7.785 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1)