Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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.002705/0.002705, allocations: 191.5 kB / 7.847 MB, free: 2.48 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.131/2.131, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.001336/0.001335, allocations: 87.7 kB / 261.5 MB, free: 13.64 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.09749/0.09748, allocations: 12.58 MB / 322 MB, free: 1.008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2715/0.369, allocations: 56.5 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.4965, allocations: 50.37 MB / 428.9 MB, free: 25.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/0.7904, allocations: 77.53 MB / 0.4945 GB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.7907, allocations: 71.27 kB / 0.4946 GB, free: 11.92 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.008061/0.7988, allocations: 2.018 MB / 0.4966 GB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.7989, allocations: 7.719 kB / 0.4966 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.7989, allocations: 12.23 kB / 0.4966 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.7992, allocations: 193.2 kB / 0.4968 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.7992, allocations: 0 / 0.4968 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.7992, allocations: 3.906 kB / 0.4968 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001031/0.7993, allocations: 16.73 kB / 0.4968 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.7996, allocations: 108.1 kB / 0.4969 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.7996, allocations: 3.984 kB / 0.4969 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.7996, allocations: 3.906 kB / 0.4969 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.7996, allocations: 0 / 0.4969 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.8, allocations: 254.8 kB / 0.4971 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.8001, allocations: 60.81 kB / 0.4972 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.8002, allocations: 25.98 kB / 0.4972 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.8002, allocations: 12.53 kB / 0.4972 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.8002, allocations: 34.86 kB / 0.4973 GB, free: 10.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.532e-06/0.8003, allocations: 0 / 0.4973 GB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002114/0.8005, allocations: 55.78 kB / 0.4973 GB, free: 10.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.8005, allocations: 111.3 kB / 0.4974 GB, free: 10.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.8007, allocations: 130.2 kB / 0.4976 GB, free: 10.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.8007, allocations: 29.67 kB / 0.4976 GB, free: 10.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.8007, allocations: 81.69 kB / 0.4977 GB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.8007, allocations: 4.344 kB / 0.4977 GB, free: 10.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.8008, allocations: 0.5625 kB / 0.4977 GB, free: 10.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.8008, allocations: 321.8 kB / 0.498 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.8009, allocations: 4.672 kB / 0.498 GB, free: 10.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.8009, allocations: 31.81 kB / 0.498 GB, free: 10.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.8009, allocations: 9 kB / 0.498 GB, free: 10.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8009, allocations: 0 / 0.498 GB, free: 10.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001135/0.8011, allocations: 60 kB / 0.4981 GB, free: 9.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8011, allocations: 3.875 kB / 0.4981 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8011, allocations: 8.297 kB / 0.4981 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.8011, allocations: 4.125 kB / 0.4981 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.8013, allocations: 13.69 kB / 0.4981 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.8013, allocations: 4.5 kB / 0.4981 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.8014, allocations: 4.734 kB / 0.4981 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.8014, allocations: 0 / 0.4981 GB, free: 9.98 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.496e-05/0.8015, allocations: 108.4 kB / 0.4982 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.8016, allocations: 55.5 kB / 0.4983 GB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.8016, allocations: 12.77 kB / 0.4983 GB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8016, allocations: 4.547 kB / 0.4983 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8016, allocations: 0 / 0.4983 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.8017, allocations: 0.5156 kB / 0.4983 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.8018, allocations: 150 kB / 0.4984 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8018, allocations: 0 / 0.4984 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.806e-05/0.802, allocations: 9.938 kB / 0.4984 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.802, allocations: 4.531 kB / 0.4984 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.802, allocations: 3.906 kB / 0.4984 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.802, allocations: 4.734 kB / 0.4984 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.802, allocations: 0 / 0.4984 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001498/0.8022, allocations: 185.1 kB / 0.4986 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000193/0.8024, allocations: 0.5627 MB / 0.4992 GB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.8025, allocations: 96.91 kB / 0.4993 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.8025, allocations: 0.5625 kB / 0.4993 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.8026, allocations: 9.016 kB / 0.4993 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.8027, allocations: 4.562 kB / 0.4993 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.8027, allocations: 4.547 kB / 0.4993 GB, free: 8.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.126e-05/0.8028, allocations: 102.5 kB / 0.4994 GB, free: 8.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00119/0.804, allocations: 7.844 kB / 0.4994 GB, free: 8.73 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: 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.0001049/0.8041, allocations: 101.5 kB / 0.4995 GB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.8042, allocations: 20.36 kB / 0.4995 GB, free: 8.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8043, allocations: 4.25 kB / 0.4995 GB, free: 8.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.327e-05/0.8043, allocations: 4.469 kB / 0.4995 GB, free: 8.633 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.8047, allocations: 21.44 kB / 0.4995 GB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.805, allocations: 107.9 kB / 0.4996 GB, free: 8.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.8053, allocations: 0.7137 MB / 0.5003 GB, free: 7.824 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.8053, allocations: 4.188 kB / 0.5003 GB, free: 7.82 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1)