Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",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.001/0.001, allocations: 187 kB / 7.805 MB, free: 2.23 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.19/1.19, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008944/0.0008945, allocations: 95.77 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2223/0.2223, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1987/0.421, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.6946, allocations: 58.84 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.8104, allocations: 83.79 MB / 0.5473 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.8107, allocations: 59.97 kB / 0.5474 GB, free: 15.06 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.01002/0.8208, allocations: 3.767 MB / 0.551 GB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.8208, allocations: 11.94 kB / 0.551 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.8209, allocations: 448 / 0.551 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.821, allocations: 167.1 kB / 0.5512 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.821, allocations: 0 / 0.5512 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.821, allocations: 0 / 0.5512 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.274e-05/0.8211, allocations: 7.938 kB / 0.5512 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.505e-05/0.8211, allocations: 37.61 kB / 0.5512 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.8211, allocations: 0 / 0.5512 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.8211, allocations: 3.984 kB / 0.5513 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.8212, allocations: 0 / 0.5513 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.8213, allocations: 126.2 kB / 0.5514 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.776e-05/0.8213, allocations: 22.55 kB / 0.5514 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.8213, allocations: 4.859 kB / 0.5514 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.8214, allocations: 4 kB / 0.5514 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.8214, allocations: 56.27 kB / 0.5515 GB, free: 10.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.8214, allocations: 0 / 0.5515 GB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.8216, allocations: 41.75 kB / 0.5515 GB, free: 10.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.8216, allocations: 85 kB / 0.5516 GB, free: 10.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.757e-05/0.8217, allocations: 85 kB / 0.5517 GB, free: 10.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.8217, allocations: 25.86 kB / 0.5517 GB, free: 10.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.8217, allocations: 84.14 kB / 0.5518 GB, free: 10.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.8217, allocations: 0 / 0.5518 GB, free: 10.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.8218, allocations: 4 kB / 0.5518 GB, free: 10.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.8219, allocations: 310.8 kB / 0.5521 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-06/0.8219, allocations: 3.938 kB / 0.5521 GB, free: 10.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.8219, allocations: 0 / 0.5521 GB, free: 10.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/0.8219, allocations: 8 kB / 0.5521 GB, free: 10.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8219, allocations: 0 / 0.5521 GB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.962e-05/0.822, allocations: 37.75 kB / 0.5521 GB, free: 9.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.822, allocations: 4 kB / 0.5521 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8221, allocations: 4 kB / 0.5521 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.8221, allocations: 3.906 kB / 0.5521 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.8221, allocations: 0 / 0.5521 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.8221, allocations: 0 / 0.5521 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.8221, allocations: 0 / 0.5521 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.8221, allocations: 0 / 0.5521 GB, free: 9.969 MB / 394.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.567e-05/0.8222, allocations: 132.1 kB / 0.5522 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.8222, allocations: 8.016 kB / 0.5523 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.367e-05/0.8222, allocations: 3 kB / 0.5523 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8223, allocations: 3.906 kB / 0.5523 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.8223, allocations: 0 / 0.5523 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8223, allocations: 3.938 kB / 0.5523 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.922e-05/0.8224, allocations: 130.2 kB / 0.5524 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.8224, allocations: 4 kB / 0.5524 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-06/0.8224, allocations: 3.938 kB / 0.5524 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.8224, allocations: 0 / 0.5524 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.8224, allocations: 3.984 kB / 0.5524 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.8224, allocations: 0 / 0.5524 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8224, allocations: 4 kB / 0.5524 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.509e-05/0.8225, allocations: 61.05 kB / 0.5525 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002278/0.8228, allocations: 445.5 kB / 0.5529 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.8228, allocations: 85.08 kB / 0.553 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.8229, allocations: 3.984 kB / 0.553 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.8229, allocations: 0 / 0.553 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.8229, allocations: 3.938 kB / 0.553 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.8229, allocations: 4 kB / 0.553 GB, free: 8.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.046e-05/0.823, allocations: 75.28 kB / 0.5531 GB, free: 8.898 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008025/0.8238, allocations: 28 kB / 0.5531 GB, free: 8.871 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000418/0.8242, allocations: 174.9 kB / 0.5532 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.966e-05/0.8243, allocations: 29.7 kB / 0.5533 GB, free: 8.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8243, allocations: 0 / 0.5533 GB, free: 8.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.8243, allocations: 33.77 kB / 0.5533 GB, free: 8.629 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.8244, allocations: 3.906 kB / 0.5533 GB, free: 8.625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001574/0.8246, allocations: 48.02 kB / 0.5534 GB, free: 8.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.8249, allocations: 0.688 MB / 0.554 GB, free: 7.84 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.8249, allocations: 0 / 0.554 GB, free: 7.84 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat