Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized",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.00257/0.00257, allocations: 187.2 kB / 7.847 MB, free: 2.492 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.076/2.076, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.002026/0.002025, allocations: 94.2 kB / 261.5 MB, free: 13.61 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.09748/0.09748, allocations: 12.59 MB / 322 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2271/0.3247, allocations: 56.5 MB / 378.5 MB, free: 75.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.4149, allocations: 50.37 MB / 428.9 MB, free: 25.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2897/0.7047, allocations: 77.15 MB / 0.4942 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.7051, allocations: 73.52 kB / 0.4942 GB, free: 11.96 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.006537/0.7116, allocations: 1.731 MB / 0.4959 GB, free: 11.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.7117, allocations: 7.656 kB / 0.4959 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.7117, allocations: 15.69 kB / 0.4959 GB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.712, allocations: 210.3 kB / 0.4961 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.712, allocations: 4.672 kB / 0.4961 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.7121, allocations: 3.969 kB / 0.4961 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001747/0.7122, allocations: 47.66 kB / 0.4962 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.7127, allocations: 225.2 kB / 0.4964 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7128, allocations: 0.5625 kB / 0.4964 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.7128, allocations: 0 / 0.4964 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.7128, allocations: 0 / 0.4964 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.713, allocations: 164.5 kB / 0.4966 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.7133, allocations: 146.5 kB / 0.4967 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.7135, allocations: 72.55 kB / 0.4968 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.7135, allocations: 3.844 kB / 0.4968 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.7136, allocations: 32.62 kB / 0.4968 GB, free: 10.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.7136, allocations: 0 / 0.4968 GB, free: 10.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003245/0.7139, allocations: 131.8 kB / 0.4969 GB, free: 10.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.714, allocations: 59.28 kB / 0.497 GB, free: 10.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.7141, allocations: 150.5 kB / 0.4971 GB, free: 10.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.7142, allocations: 29.61 kB / 0.4972 GB, free: 10.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.7142, allocations: 85.33 kB / 0.4972 GB, free: 10.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.7142, allocations: 13.78 kB / 0.4973 GB, free: 10.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.7142, allocations: 0 / 0.4973 GB, free: 10.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.7143, allocations: 325.8 kB / 0.4976 GB, free: 10.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.7144, allocations: 17.7 kB / 0.4976 GB, free: 10.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.7145, allocations: 116.4 kB / 0.4977 GB, free: 10.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.7146, allocations: 48.84 kB / 0.4977 GB, free: 10.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.7146, allocations: 0.75 kB / 0.4977 GB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002608/0.7149, allocations: 128.7 kB / 0.4979 GB, free: 10.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.7149, allocations: 5.156 kB / 0.4979 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.7149, allocations: 11.81 kB / 0.4979 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.7149, allocations: 3.75 kB / 0.4979 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.7151, allocations: 38.02 kB / 0.4979 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7152, allocations: 4.391 kB / 0.4979 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.7153, allocations: 8.422 kB / 0.4979 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.7153, allocations: 11.69 kB / 0.4979 GB, free: 10.1 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.506e-05/0.7154, allocations: 120.8 kB / 0.4981 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.7156, allocations: 123.8 kB / 0.4982 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.7157, allocations: 17.94 kB / 0.4982 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.7157, allocations: 1.188 kB / 0.4982 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7157, allocations: 4.453 kB / 0.4982 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.7158, allocations: 0.6094 kB / 0.4982 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.7159, allocations: 167.8 kB / 0.4984 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7159, allocations: 0 / 0.4984 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.7161, allocations: 22.56 kB / 0.4984 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.7161, allocations: 3.875 kB / 0.4984 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.7162, allocations: 0.6094 kB / 0.4984 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.7162, allocations: 0.875 kB / 0.4984 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7162, allocations: 4.75 kB / 0.4984 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002591/0.7164, allocations: 156.4 kB / 0.4985 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002999/0.7168, allocations: 0.5292 MB / 0.4991 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7169, allocations: 108.8 kB / 0.4992 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.7169, allocations: 8.516 kB / 0.4992 GB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.717, allocations: 8.781 kB / 0.4992 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-06/0.717, allocations: 0 / 0.4992 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.717, allocations: 3.812 kB / 0.4992 GB, free: 9.121 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.063e-05/0.7171, allocations: 119.3 kB / 0.4993 GB, free: 9.039 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001208/0.7183, allocations: 15.38 kB / 0.4993 GB, free: 9.039 MB / 330.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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001119/0.7185, allocations: 99.91 kB / 0.4994 GB, free: 8.949 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.7187, allocations: 92.69 kB / 0.4995 GB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7187, allocations: 0 / 0.4995 GB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.7187, allocations: 3.969 kB / 0.4995 GB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.7192, allocations: 78.12 kB / 0.4996 GB, free: 8.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.7196, allocations: 176.9 kB / 0.4997 GB, free: 8.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.7199, allocations: 0.7422 MB / 0.5005 GB, free: 8.125 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.7199, allocations: 0 / 0.5005 GB, free: 8.125 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1)