Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",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.002618/0.002618, allocations: 174.2 kB / 7.835 MB, free: 0.9805 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.32/2.32, allocations: 205.2 MB / 213.4 MB, free: 1.875 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 83.38 kB / 261.5 MB, free: 1.824 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.09577/0.09577, allocations: 12.6 MB / 322 MB, free: 15.35 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1454/0.2413, allocations: 56.51 MB / 378.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.5088, allocations: 50.37 MB / 428.9 MB, free: 18.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.6594, allocations: 78.47 MB / 0.4954 GB, free: 3.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000459/0.6599, allocations: 79.94 kB / 0.4955 GB, free: 3.82 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.02731/0.6873, allocations: 3.658 MB / 0.4991 GB, free: 116 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.6874, allocations: 12 kB / 0.4991 GB, free: 104 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.6875, allocations: 31.53 kB / 0.4991 GB, free: 72 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008757/0.6884, allocations: 307 kB / 0.4994 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.6885, allocations: 4 kB / 0.4994 GB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.6886, allocations: 7.906 kB / 0.4994 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003548/0.6889, allocations: 63.98 kB / 0.4995 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.6894, allocations: 103.1 kB / 0.4996 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6894, allocations: 4 kB / 0.4996 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.6895, allocations: 0 / 0.4996 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.6895, allocations: 4 kB / 0.4996 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.6914, allocations: 0.489 MB / 0.5001 GB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.6919, allocations: 134.7 kB / 0.5002 GB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.6922, allocations: 52.86 kB / 0.5003 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.6922, allocations: 0 / 0.5003 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.6923, allocations: 38.47 kB / 0.5003 GB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.226e-06/0.6923, allocations: 224 / 0.5003 GB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002966/0.6953, allocations: 0.5715 MB / 0.5009 GB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.6954, allocations: 55.39 kB / 0.5009 GB, free: 14.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/0.6962, allocations: 283.6 kB / 0.5012 GB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.6963, allocations: 25.7 kB / 0.5012 GB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6964, allocations: 128.2 kB / 0.5013 GB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.6965, allocations: 59.11 kB / 0.5014 GB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.6966, allocations: 0 / 0.5014 GB, free: 13.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.6969, allocations: 346.8 kB / 0.5017 GB, free: 13.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.6971, allocations: 48.38 kB / 0.5018 GB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.6974, allocations: 52.56 kB / 0.5018 GB, free: 13.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.6979, allocations: 64.91 kB / 0.5019 GB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6979, allocations: 0 / 0.5019 GB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009006/0.6988, allocations: 199.6 kB / 0.5021 GB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6989, allocations: 4 kB / 0.5021 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6989, allocations: 0 / 0.5021 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.6989, allocations: 0 / 0.5021 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.6999, allocations: 67.95 kB / 0.5021 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.7, allocations: 0 / 0.5021 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.7005, allocations: 7.906 kB / 0.5021 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.7006, allocations: 4 kB / 0.5021 GB, free: 12.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001525/0.7007, allocations: 104.9 kB / 0.5022 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.7009, allocations: 31.62 kB / 0.5023 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009706/0.7019, allocations: 196.3 kB / 0.5025 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.7019, allocations: 8 kB / 0.5025 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.702, allocations: 0 / 0.5025 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.702, allocations: 0 / 0.5025 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007593/0.7028, allocations: 286 kB / 0.5027 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7028, allocations: 0 / 0.5027 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.7039, allocations: 67.88 kB / 0.5028 GB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.7039, allocations: 0 / 0.5028 GB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.704, allocations: 11.98 kB / 0.5028 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.704, allocations: 7.906 kB / 0.5028 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.704, allocations: 4 kB / 0.5028 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001069/0.7051, allocations: 351 kB / 0.5032 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001569/0.7067, allocations: 0.8078 MB / 0.504 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.7069, allocations: 113 kB / 0.5041 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.707, allocations: 4 kB / 0.5041 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.7076, allocations: 11.98 kB / 0.5041 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.7077, allocations: 7.984 kB / 0.5041 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.7077, allocations: 8 kB / 0.5041 GB, free: 10.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005618/0.7083, allocations: 227.1 kB / 0.5043 GB, free: 10.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001849/0.7102, allocations: 40 kB / 0.5043 GB, free: 10.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0002479/0.7105, allocations: 103.2 kB / 0.5044 GB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.711, allocations: 148.4 kB / 0.5046 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.711, allocations: 0 / 0.5046 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.7112, allocations: 75.92 kB / 0.5047 GB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.7117, allocations: 25.09 kB / 0.5047 GB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.7138, allocations: 0.6014 MB / 0.5053 GB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006689/0.7145, allocations: 0.8175 MB / 0.5061 GB, free: 8.605 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.7145, allocations: 4 kB / 0.5061 GB, free: 8.602 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat does not exist to compare? outputFormat=mat