Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.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) 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.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",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.0009626/0.0009626, allocations: 175 kB / 8.473 MB, free: 1.879 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.055/1.055, allocations: 205.2 MB / 214.1 MB, free: 1.859 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.0008249/0.0008251, allocations: 83.39 kB / 262.1 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1392/0.14, allocations: 52.97 MB / 315.1 MB, free: 22.92 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06745/0.2075, allocations: 47.58 MB / 362.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.4061, allocations: 75.85 MB / 438.5 MB, free: 3.582 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/0.4063, allocations: 64.47 kB / 438.5 MB, free: 3.551 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.007909/0.4142, allocations: 3.258 MB / 441.8 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4143, allocations: 12 kB / 441.8 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.4143, allocations: 19.72 kB / 441.8 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.4146, allocations: 213 kB / 442 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4146, allocations: 12.2 kB / 442.1 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.4146, allocations: 8 kB / 442.1 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001966/0.4148, allocations: 114.6 kB / 442.2 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.415, allocations: 133.5 kB / 442.3 MB, free: 304 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4151, allocations: 0 / 442.3 MB, free: 304 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.4151, allocations: 3.906 kB / 442.3 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4151, allocations: 8 kB / 442.3 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.4161, allocations: 0.7159 MB / 443 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.4163, allocations: 86.95 kB / 443.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.4164, allocations: 78.55 kB / 443.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.4165, allocations: 0 / 443.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.4165, allocations: 45 kB / 443.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.4165, allocations: 0 / 443.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002162/0.4167, allocations: 117 kB / 443.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.4167, allocations: 55.41 kB / 443.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.4168, allocations: 135.5 kB / 443.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.4169, allocations: 25.7 kB / 443.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.4169, allocations: 134 kB / 443.7 MB, free: 15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.4169, allocations: 46.48 kB / 443.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.417, allocations: 0 / 443.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.03e-05/0.417, allocations: 318.3 kB / 444.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.104e-05/0.4171, allocations: 42.25 kB / 444.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.4172, allocations: 58.89 kB / 444.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.4173, allocations: 41.42 kB / 444.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4173, allocations: 0 / 444.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001984/0.4175, allocations: 145.8 kB / 444.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.4175, allocations: 7.438 kB / 444.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4175, allocations: 0 / 444.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4175, allocations: 7.984 kB / 444.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.4178, allocations: 43.95 kB / 444.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4178, allocations: 7.984 kB / 444.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4179, allocations: 15.83 kB / 444.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4179, allocations: 4 kB / 444.4 MB, free: 14.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 19 * 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.287e-05/0.418, allocations: 108.9 kB / 444.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.418, allocations: 11.81 kB / 444.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.418, allocations: 16.38 kB / 444.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4181, allocations: 0 / 444.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4181, allocations: 0 / 444.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4181, allocations: 3.984 kB / 444.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.4183, allocations: 225.9 kB / 444.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4183, allocations: 0 / 444.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.4185, allocations: 43.91 kB / 444.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4186, allocations: 0 / 444.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.4186, allocations: 7 kB / 444.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.4186, allocations: 8.812 kB / 444.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4186, allocations: 0 / 444.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002706/0.4189, allocations: 254.9 kB / 445.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004091/0.4193, allocations: 0.6825 MB / 445.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.4193, allocations: 92.92 kB / 445.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.4194, allocations: 0 / 445.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4195, allocations: 19.98 kB / 445.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.4196, allocations: 7.922 kB / 445.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4196, allocations: 4.188 kB / 445.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.487e-05/0.4197, allocations: 102.1 kB / 446 MB, free: 12.85 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007985/0.4205, allocations: 51.83 kB / 446 MB, free: 12.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.000118/0.4206, allocations: 99.5 kB / 446.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.4208, allocations: 99.44 kB / 446.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4208, allocations: 0 / 446.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.4208, allocations: 53.38 kB / 446.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.4211, allocations: 26.33 kB / 446.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/0.4218, allocations: 382.7 kB / 446.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.4221, allocations: 0.7469 MB / 447.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4221, allocations: 0 / 447.4 MB, free: 11.41 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat