Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1",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.001871/0.001871, allocations: 193.6 kB / 7.848 MB, free: 2.469 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.96/1.96, allocations: 205.2 MB / 213.4 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.001315/0.001315, allocations: 95.11 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.09669/0.09669, allocations: 12.59 MB / 322 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2392/0.3359, allocations: 56.5 MB / 378.5 MB, free: 75.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.4251, allocations: 50.37 MB / 428.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2913/0.7165, allocations: 77.66 MB / 0.4947 GB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.7168, allocations: 76.06 kB / 0.4947 GB, free: 12.06 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.005649/0.7225, allocations: 1.44 MB / 0.4961 GB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.7225, allocations: 7.719 kB / 0.4961 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.7226, allocations: 15.56 kB / 0.4962 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.7228, allocations: 190.6 kB / 0.4963 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.7228, allocations: 0 / 0.4963 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.7228, allocations: 9.219 kB / 0.4963 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.348e-05/0.7229, allocations: 11.5 kB / 0.4964 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.7232, allocations: 103.9 kB / 0.4965 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7232, allocations: 4 kB / 0.4965 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.7232, allocations: 5.219 kB / 0.4965 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7232, allocations: 0 / 0.4965 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.7236, allocations: 244.4 kB / 0.4967 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.7238, allocations: 134.7 kB / 0.4968 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.7238, allocations: 22.56 kB / 0.4968 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.7239, allocations: 3.906 kB / 0.4969 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.7239, allocations: 39.09 kB / 0.4969 GB, free: 10.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.033e-06/0.7239, allocations: 0 / 0.4969 GB, free: 10.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001989/0.7242, allocations: 59.95 kB / 0.4969 GB, free: 10.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.7242, allocations: 81.02 kB / 0.497 GB, free: 10.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.7243, allocations: 123 kB / 0.4971 GB, free: 10.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.7244, allocations: 26.22 kB / 0.4972 GB, free: 10.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.7244, allocations: 85.3 kB / 0.4972 GB, free: 10.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.7244, allocations: 7.938 kB / 0.4973 GB, free: 10.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.7244, allocations: 0 / 0.4973 GB, free: 10.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.7245, allocations: 316.7 kB / 0.4976 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.7245, allocations: 10.84 kB / 0.4976 GB, free: 10.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.7246, allocations: 32.27 kB / 0.4976 GB, free: 10.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.7246, allocations: 4.75 kB / 0.4976 GB, free: 10.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7246, allocations: 0 / 0.4976 GB, free: 10.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001146/0.7248, allocations: 58.81 kB / 0.4977 GB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7248, allocations: 11.62 kB / 0.4977 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.7248, allocations: 0.5156 kB / 0.4977 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.7248, allocations: 0 / 0.4977 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.725, allocations: 9.891 kB / 0.4977 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.725, allocations: 8.344 kB / 0.4977 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.7251, allocations: 4.703 kB / 0.4977 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.7251, allocations: 4.594 kB / 0.4977 GB, free: 10.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.88e-05/0.7252, allocations: 112.9 kB / 0.4978 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.7253, allocations: 43.44 kB / 0.4978 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.7253, allocations: 9.25 kB / 0.4979 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.7254, allocations: 4.562 kB / 0.4979 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7254, allocations: 7.844 kB / 0.4979 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7254, allocations: 0.5156 kB / 0.4979 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.7256, allocations: 144.5 kB / 0.498 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7256, allocations: 0 / 0.498 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.7257, allocations: 14.2 kB / 0.498 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.7257, allocations: 3.781 kB / 0.498 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.7257, allocations: 0.7969 kB / 0.498 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.7257, allocations: 3.938 kB / 0.498 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7257, allocations: 3.906 kB / 0.498 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001519/0.7259, allocations: 168.3 kB / 0.4982 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001946/0.7261, allocations: 0.5404 MB / 0.4987 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.7262, allocations: 91.06 kB / 0.4988 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.7262, allocations: 0.8438 kB / 0.4988 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.7264, allocations: 4.688 kB / 0.4988 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.7264, allocations: 8.547 kB / 0.4988 GB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.7264, allocations: 4.719 kB / 0.4988 GB, free: 9.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.291e-05/0.7265, allocations: 102.7 kB / 0.4989 GB, free: 8.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001145/0.7277, allocations: 3.844 kB / 0.4989 GB, free: 8.941 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 (4): * Single equations (assignments): 4 * 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.0001197/0.7278, allocations: 97.06 kB / 0.499 GB, free: 8.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.728, allocations: 19.81 kB / 0.499 GB, free: 8.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.728, allocations: 3.844 kB / 0.499 GB, free: 8.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.498e-05/0.728, allocations: 4.844 kB / 0.499 GB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.7284, allocations: 25.28 kB / 0.4991 GB, free: 8.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.7288, allocations: 98.17 kB / 0.4992 GB, free: 8.754 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.729, allocations: 0.7085 MB / 0.4999 GB, free: 8.051 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.729, allocations: 3.844 kB / 0.4999 GB, free: 8.051 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1)